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