?? crtypeframe.java
字號(hào):
/* * To change this template, choose Tools | Templates * 客戶(hù)類(lèi)型設(shè)置 會(huì)員添加 */package com.redingsoft.setcrtypeframe;import com.redingsoft.locationutil.LocationUtil;import javax.swing.*;/** * * @author Administrator */public class CrTypeFrame extends JDialog { //聲明書(shū)簽簽面板 private JTabbedPane JTP; //聲明主要面板 private JPanel typePane,infoPane,bottPane; //構(gòu)造方法 public CrTypeFrame(){ //實(shí)例化面板 typePane=new selectinfoPane(); infoPane=new AddcrType(); //實(shí)例化標(biāo)簽面板 JTP=new JTabbedPane(); //添加面板到標(biāo)簽面板上 JTP.add(typePane,"客人信息查詢(xún)" ); JTP.add(infoPane,"客人類(lèi)型設(shè)置" ); //添加到窗口上 this.add(JTP); this.setSize(600, 500); this.setDefaultCloseOperation(CrTypeFrame.DISPOSE_ON_CLOSE); } /* public static void main(String [] args){ new CrTypeFrame(); } */ }
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -