eventframe.java
来自「用jb9制作的一个基于C/S结构的应用程序」· Java 代码 · 共 37 行
JAVA
37 行
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 + =
减小字号Ctrl + -
显示快捷键?