📄 help.java~3~
字号:
package Statistics;import javax.swing.*;import java.awt.*;import java.util.*;public class Help extends JFrame { Vector v1; JList jList1 = new JList(); JScrollPane jScrollPane1 = new JScrollPane(); JLabel jLabel1 = new JLabel(); JTextArea jTextArea1 = new JTextArea(); public Help() { try { help(); jbInit(); } catch(Exception ex) { ex.printStackTrace(); } } void jbInit() throws Exception { jTextArea1.setBounds(new Rectangle(161, 69, 279, 308)); jLabel1.setText("Topics"); jLabel1.setBounds(new Rectangle(34, 46, 68, 19)); jScrollPane1.setBounds(new Rectangle(33, 68, 109, 307)); this.getContentPane().setLayout(null); this.getContentPane().add(jScrollPane1, null); this.getContentPane().add(jLabel1, null); this.getContentPane().add(jTextArea1, null); jScrollPane1.getViewport().add(new JList(v1), null); this.setBounds(0,0,600,600); this.setVisible(true); this.setDefaultCloseOperation(EXIT_ON_CLOSE); } public static void main(String[] args) { Help help = new Help(); } void help(){ v1 = new Vector(); v1.addElement("Connect Log File"); v1.addElement("Open Report File"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -