91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

java swing漂亮軟件界面 超酷 以及java swing教程

資源截圖

代碼片段和文件信息

package?eetsoft.com;

import?java.awt.Dimension;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;

import?javax.swing.JButton;
//===========================================
//軟件主窗體?EETSoftframe.java
//程序編寫:Wilbur
//李建東??聯系QQ:75191817
//===========================================
public?class?ActionDo?implements?ActionListener
{
EETSoftframe?frame;
JButton?button;
//======================
//配置類
ConfigGet?con?;
Dimension?sdm?;//分辨率
//======================
//皮膚樣式夾
String?img_dir?=?“skin_black“;
//======================
//重畫類
RepaintActionDo?action?;
//======================
//初始化
ActionDo(EETSoftframe?fJButton?btn)
{
this.frame?=?f;
this.button?=?btn;
//配置類
con?=?new?ConfigGet();
action?=?new?RepaintActionDo(f);
//皮膚文件
img_dir?=?con.getSkinDir();
//分辨率
sdm?=?con.getScreenSize();
}
//======================
//事件處理
public?void?actionPerformed(ActionEvent?e)?
{

//==================
//窗口最大化
if(e.getActionCommand().equals(“cmd_max“))
{
fullframe();
}
//==================
//窗口一般化
if(e.getActionCommand().equals(“cmd_normal“))
{
normalframe();
}
//==================
//窗口最小化
else?if(e.getActionCommand().equals(“cmd_min“))
{
frame.setExtendedState(frame.ICONIFIED|frame.getExtendedState());
}
//==================
//窗口關閉
else?if(e.getActionCommand().equals(“cmd_close“))
{
System.exit(0);
}
//==================
//關閉左邊二級菜單面板
else?if(e.getActionCommand().equals(“lmenu_close“))
{
frame.closeLeftMenu();
}
//==================
//打開左邊二級菜單面板
else?if(e.getActionCommand().equals(“lmenu_open“))
{
frame.openLeftMenu();
}
//===================
//點擊主按鈕顯示二級菜單
else?if(e.getActionCommand().equals(“lmenu_add“))
{
addSubMenu();
}
}
//==========================
//全屏
//==========================
private?void?fullframe()
{
//設置最大化
con.resetframeSize(framesdm.widthsdm.height);
con.fullAllWaysTop(frame);//是否最前端顯示在Config.java里配置
frame.isFullScreen?=?true;
//設置按鈕
button.setIcon(con.getImgUrl((“maxed.png“)));
button.setRolloverIcon(con.getImgUrl((“maxed_on.png“)));
frame.validate();//有效
frame.setLocation((sdm.width-frame.getWidth())/2?(sdm.height-frame.getHeight())/2);
button.setActionCommand(“cmd_normal“);
button.setToolTipText(“正常模式“);
//new?SubMenuActionDo(frame).btnExamKindAction();
action.repaintframe();
frame.validate();
//System.out.println(frame.panel.m_panel.scrollPane.getWidth()+“==========“+frame.panel.m_panel.p_right.getWidth());
}
//==========================
//窗口正常大小
//==========================
private?void?normalframe()
{
//設置最大化
Dimension?fdm?=?con.getframeSmallSize(false);//初始窗體是否全屏
con.resetframeSize(framefdm.widthfdm.height);
con.normalAllWaysTop(frame);//是否最前端顯示在Config.java里配置
frame.isFullScreen?=?false;
//設置按鈕
button.setIcon(con.ge

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????232??2012-11-02?14:35??ExamServer\.classpath

?????文件????????386??2012-11-02?14:35??ExamServer\.project

?????文件????????629??2012-11-02?14:35??ExamServer\.settings\org.eclipse.jdt.core.prefs

?????文件???????3314??2012-11-02?14:56??ExamServer\bin\eetsoft\com\ActionDo.class

?????文件???????5825??2012-11-02?14:55??ExamServer\bin\eetsoft\com\ConfigGet.class

?????文件???????2874??2012-11-02?14:55??ExamServer\bin\eetsoft\com\EETSoftframe$1.class

?????文件???????1085??2012-11-02?14:55??ExamServer\bin\eetsoft\com\EETSoftframe$2.class

?????文件???????2111??2012-11-02?14:55??ExamServer\bin\eetsoft\com\EETSoftframe$3.class

?????文件????????814??2012-11-02?14:55??ExamServer\bin\eetsoft\com\EETSoftframe$4.class

?????文件???????8289??2012-11-02?14:55??ExamServer\bin\eetsoft\com\EETSoftframe.class

?????文件???????5198??2012-11-02?14:55??ExamServer\bin\eetsoft\com\ExamServer.class

?????文件???????6583??2012-11-02?14:55??ExamServer\bin\eetsoft\com\MainPanel.class

?????文件???????1184??2012-11-02?14:56??ExamServer\bin\eetsoft\com\MenuButtonBox.class

?????文件???????3321??2012-11-02?14:56??ExamServer\bin\eetsoft\com\MiddlePanel.class

?????文件????????875??2012-11-02?14:56??ExamServer\bin\eetsoft\com\objectResizeBox.class

?????文件????????919??2012-11-02?14:56??ExamServer\bin\eetsoft\com\RepaintActionDo.class

?????文件????????361??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\bottom_resize.png

?????文件????????182??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\btn_split_l.png

?????文件????????182??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\btn_split_r.png

?????文件????????441??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\close.png

?????文件????????637??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\close_on.png

?????文件????????181??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_b_bg.png

?????文件????????208??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_b_l.png

?????文件????????134??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_b_line.png

?????文件????????347??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_b_r.png

?????文件????????230??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_h_l.png

?????文件????????189??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_h_lc.png

?????文件????????237??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_h_r.png

?????文件????????183??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_h_rc.png

?????文件????????663??2012-11-02?14:35??ExamServer\bin\eetsoft\com\skin_black\exam_h_tag.png

............此處省略321個文件信息

評論

共有 條評論