?? rmisocket.java
字號:
/*
* @(#)RmiSocket.java 1.0 07/11/13
*
* You can modify the template of this file in the
* directory ..\JCreator\Templates\Template_1\Project_Name.java
*
* You can also create your own project template by making a new
* folder in the directory ..\JCreator\Template\. Use the other
* templates as examples.
*
*/
package myprojects.rmisocket;
import java.awt.*;
import java.awt.event.*;
class RmiSocket extends Frame {
public RmiSocket() {
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
System.exit(0);
}
});
}
public static void main(String args[]) {
System.out.println("Starting RmiSocket...");
RmiSocket mainFrame = new RmiSocket();
mainFrame.setSize(400, 400);
mainFrame.setTitle("RmiSocket");
mainFrame.setVisible(true);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -