📄 complete13_2.java
字号:
package questions.c13;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Complete13_2 extends JFrame {
public Complete13_2( String titleText ) {
super( titleText );
addWindowListener( new WindowAdapter() {
public void windowClosing( WindowEvent e ) {
e.getWindow().dispose();
System.exit( 0 );
}
}
);
// Add code for the label, list, panel,
// and buttons here
pack();
setVisible( true );
}
public static void main( String[] args ) {
new Complete13_2( "Complete the Solution" );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -