?? roominfoframe.java
字號:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.redingsoft.setroomframe;import com.redingsoft.locationutil.LocationUtil;import javax.swing.*;/** * * @author Administrator */public class RoominfoFrame extends JDialog { //聲明標簽面板 JTabbedPane JTP; //聲明添加房間面板 JPanel addroom=new AddroomPanel(); //聲明刪除信息面板 JPanel delroom=new DelroomPanel(); //查看房間信息// JPanel checkroom=new JPanel(); //構造函數 public RoominfoFrame(){ //實例化標簽 JTP=new JTabbedPane(); JTP.add(delroom,"刪除和查看房間信息"); JTP.add(addroom,"添加房間信息"); // JTP.add(checkroom,"查看房間信息"); this.add(JTP); this.setBounds(0, 0, 600, 500); this.setResizable(false); this.setDefaultCloseOperation(RoominfoFrame.DISPOSE_ON_CLOSE); LocationUtil.setLocation(this); } /* public static void main(String[] args){ new RoominfoFrame(); } */}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -