📄 eventframe.java~2~
字号:
package traffic;import javax.swing.*;import java.awt.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class eventFrame extends JFrame { JTabbedPane jTabbedPane1 = new JTabbedPane(); busNumPanel busNumPanel1 = new busNumPanel(); stationPanel stationPanel1 = new stationPanel(); public eventFrame() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { this.setSize(new Dimension(400, 300)); this.setTitle("欢迎访问"); this.getContentPane().setLayout(null); jTabbedPane1.setBounds(new Rectangle(0, 0, 400, 300)); this.getContentPane().add(jTabbedPane1, null); jTabbedPane1.add(busNumPanel1, "站点查"); jTabbedPane1.add(stationPanel1, "车次查"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -