?? window.java
字號:
import java.awt.*;
import javax.swing.*;
class window
{
static Container content;
JFrame aWindow;
void createWindow()
{
aWindow=new JFrame();
aWindow.setBounds(50,50,800,600);
aWindow.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
content=aWindow.getContentPane();
content.setLayout(new GridLayout(0,1));
}
void showIt()
{
aWindow.setVisible(true);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -