Jay
2024-11-08 02722a3f9eca857ce7fffea352e9f7ee692a1b71
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.iailab.netsdk.demo.frame;
 
import javax.swing.SwingUtilities;
 
import com.iailab.netsdk.common.SwitchLanguage;
import com.iailab.netsdk.lib.NetSDKLib;
 
 
public class Main {  
    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                if(NetSDKLib.NETSDK_INSTANCE != null
                    && NetSDKLib.CONFIG_INSTANCE != null) {
                    System.setProperty("java.awt.im.style", "on-the-spot"); // 去除中文输入弹出框
                    SwitchLanguage demo = new SwitchLanguage();
                    demo.setVisible(true);
                }
            }
        });    
    }
}