资源简介
java开源股票系统

代码片段和文件信息
package com.nexes.wizard;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
import java.net.*;
import javax.swing.*;
import javax.swing.border.*;
/**
* This class implements a basic wizard dialog where the programmer can
* insert one or more Components to act as panels. These panels can be navigated
* through arbitrarily using the ‘Next‘ or ‘Back‘ buttons or the dialog itself
* can be closed using the ‘Cancel‘ button. Note that even though the dialog
* uses a CardLayout manager the order of the panels is not linear. Each panel
* determines at runtime what its next and previous panel will be.
*/
public class Wizard extends WindowAdapter implements PropertyChangeListener {
/**
* Indicates that the ‘Finish‘ button was pressed to close the dialog.
*/
public static final int FINISH_RETURN_CODE = 0;
/**
* Indicates that the ‘Cancel‘ button was pressed to close the dialog or
* the user pressed the close box in the corner of the window.
*/
public static final int CANCEL_RETURN_CODE = 1;
/**
* Indicates that the dialog closed due to an internal error.
*/
public static final int ERROR_RETURN_CODE = 2;
/**
* The String-based action command for the ‘Next‘ button.
*/
public static final String NEXT_BUTTON_ACTION_COMMAND = “NextButtonActionCommand“;
/**
* The String-based action command for the ‘Back‘ button.
*/
public static final String BACK_BUTTON_ACTION_COMMAND = “BackButtonActionCommand“;
/**
* The String-based action command for the ‘Cancel‘ button.
*/
public static final String CANCEL_BUTTON_ACTION_COMMAND = “CancelButtonActionCommand“;
// The i18n text used for the buttons. Loaded from a property resource file.
static String BACK_TEXT;
static String NEXT_TEXT;
static String FINISH_TEXT;
static String CANCEL_TEXT;
// The image icons used for the buttons. Filenames are loaded from a property resource file.
static Icon BACK_ICON;
static Icon NEXT_ICON;
static Icon FINISH_ICON;
static Icon CANCEL_ICON;
private WizardModel wizardModel;
private WizardController wizardController;
private JDialog wizardDialog;
private JPanel cardPanel;
private CardLayout cardLayout;
private JButton backButton;
private JButton nextButton;
private JButton cancelButton;
private int returnCode;
/**
* Default constructor. This method creates a new WizardModel object and passes it
* into the overloaded constructor.
*/
public Wizard() {
this((frame)null);
}
/**
* This method accepts a java.awt.Dialog object as the javax.swing.JDialog‘s
* parent.
* @param owner The java.awt.Dialog object that is the owner of this dialog.
*/
public Wizard(Dialog owner) {
wizardModel
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-01-01 22:45 jstock\
文件 7334 2013-01-01 22:43 jstock\.hgtags
文件 5015 2013-01-01 22:43 jstock\build.xm
目录 0 2013-01-01 22:45 jstock\config\
文件 112 2013-01-01 22:43 jstock\config\commons-logging.properties
目录 0 2013-01-01 22:45 jstock\docs\
文件 34202 2013-01-01 22:43 jstock\docs\changelog.txt
文件 990 2013-01-01 22:43 jstock\docs\contributors.txt
文件 17987 2013-01-01 22:43 jstock\docs\gpl-2.0.txt
目录 0 2013-01-01 22:45 jstock\installer\
目录 0 2013-01-01 22:45 jstock\installer\linux\
文件 1306 2013-01-01 22:43 jstock\installer\linux\jstock.sh
目录 0 2013-01-01 22:45 jstock\installer\windows\
文件 99678 2013-01-01 22:43 jstock\installer\windows\chart.ico
文件 17987 2013-01-01 22:43 jstock\installer\windows\gpl-2.0.txt
文件 5187 2013-01-01 22:43 jstock\installer\windows\jstock.nsi
文件 1351 2013-01-01 22:43 jstock\installer\windows\jstock.xm
文件 82 2013-01-01 22:43 jstock\manifest.mf
目录 0 2013-01-01 22:45 jstock\nbproject\
文件 8 2013-01-01 22:43 jstock\nbproject\.cvsignore
文件 56333 2013-01-01 22:43 jstock\nbproject\build-impl.xm
文件 465 2013-01-01 22:43 jstock\nbproject\genfiles.properties
文件 7626 2013-01-01 22:43 jstock\nbproject\project.properties
文件 560 2013-01-01 22:43 jstock\nbproject\project.xm
目录 0 2013-01-01 22:45 jstock\src\
目录 0 2013-01-01 22:45 jstock\src\com\
目录 0 2013-01-01 22:45 jstock\src\com\nexes\
目录 0 2013-01-01 22:45 jstock\src\com\nexes\wizard\
文件 17083 2013-01-01 22:43 jstock\src\com\nexes\wizard\Wizard.java
文件 296 2013-01-01 22:43 jstock\src\com\nexes\wizard\wizard.properties
文件 4667 2013-01-01 22:43 jstock\src\com\nexes\wizard\WizardController.java
............此处省略495个文件信息
相关资源
- java串口通信全套完整代码-导入eclip
- jsonarray所必需的6个jar包.rar
- 三角网构TIN生成算法,Java语言实现
- java代码编写将excel数据导入到mysql数据
- Java写的cmm词法分析器源代码及javacc学
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 推荐算法的JAVA实现
- 基于Java的酒店管理系统源码(毕业设
- java-图片识别 图片比较
- android毕业设计
- java23种设计模式+23个实例demo
- java Socket发送/接受报文
- JAVA828436
- java界面美化 提供多套皮肤直接使用
- 在线聊天系统(java代码)
- 基于Java的图书管理系统807185
- java中实现将页面数据导入Excel中
- java 企业销售管理系统
- java做的聊天系统(包括正规课程设计
- Java编写的qq聊天室
- 商店商品管理系统 JAVA写的 有界面
- JAVA开发聊天室程序
- 在linux系统下用java执行系统命令实例
- java期末考试试题两套(答案) 选择(
- JAVA3D编程示例(建模、交互)
- Java 文件加密传输
- java做的房产管理系统
- 基于jsp的bbs论坛 非常详细
- [免费]java实现有障碍物的贪吃蛇游戏
评论
共有 条评论