📄 firstwindowdemo.java
字号:
package swing.second;
import javax.swing.*;
/**
A simple demonstration of using a window class. To see
both windows you will probably have to move the top window.
*/
public class FirstWindowDemo
{
public static void main(String[] args)
{
FirstWindow window1 = new FirstWindow( );
window1.setVisible(true);
FirstWindow window2 = new FirstWindow( );
window2.setVisible(true);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -