资源简介
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个文件信息
相关资源
- javac1.7源代码(完全版,可运行)
- JAVA与ANYLOGIC的关联用法
- 电影管理系统
- 图书馆管理系统Java 优秀毕业设计论文
- java程序设计--售票系统
- java web实验室管理系统 毕业设计
- JAVA房屋出租管理系统
- Java+Mysql+Swing即时聊天系统,公、私聊
- java与c++通过socket通信
- java写的RPG小游戏
- JAVA GUI火车票管理系统JAVA+MySQLJava Sw
- Java图书管理系统,jsp+Servlet利用mvc模
- 理发店管理系统
- JAVA学生在线选课系统的设计与实现
- Java Persistence with MyBatis 3娄娈翻译,带
- JAVA办公自动化系统(源代码+论文+外
- java实现简单登录注册系统
- 指纹识别代码java
- Java Concurrency in Practice 原版pdf by Goe
- java org jar包
- JavaEE_BBS论坛系统
- Java网页设计
- 历年计算机等级考试Java真题—word版含
- 基于JAVA和MySQL的商品销售管理系统(
- 活动管理系统初学者作品
- MLDN李兴华JAVA_WEB笔记pdf文档
- 网上宠物商店系统JSP+JavaBean+JDBC
- javaweb使用rsa加密解密jar包
- 物流信息管理系统 java源代码
- java_CS架构《酒店管理系统》源码
评论
共有 条评论