📄 drawclient.java
字号:
import javax.swing.JFrame;
//调用画图工具工作的的类
public class DrawClient
{
public static DrawFrame frame;
NwClient nwClient;
DrawModel model;
public static void main(String args[]) {
String modelHost = "localhost";
try {
if (args.length > 0) {
modelHost = args[0];
}
DrawClient client = new DrawClient();
client.nwClient = new NwClient(modelHost, 6001);
client.model = new DrawNwModel(client.nwClient);
client.frame = new DrawFrame(client.model);
} catch (Exception e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -