java小工具,使用Swing展示左树右表结构

代码直接上:

入口类

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONObject;

public class MainPane {

    public static void main(String[] args) throws Throwable {
        
        File file = new File("acl.properties");
        ProperityUtils.loadProperty2System(file.getAbsolutePath());
        //System.out.println(System.getProperty("username"));
        String userId = System.getProperty("username","user");
        String password = System.getProperty("password","pwd");
        String url = System.getProperty("url","http://127.0.0.1/web");
        String json = ""
        String session = Http.sendPost(url, json);
        JSONObject jsonobject = new JSONObject(session);
        String sid = jsonobject.getString("sessionId");
        Str

猜你喜欢

转载自blog.csdn.net/weixin_42551921/article/details/109713347