projects
/
jSite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work in progress
[jSite.git]
/
src
/
de
/
todesbaum
/
util
/
swing
/
TWizardPage.java
diff --git
a/src/de/todesbaum/util/swing/TWizardPage.java
b/src/de/todesbaum/util/swing/TWizardPage.java
index
ec5942e
..
be51b7e
100644
(file)
--- a/
src/de/todesbaum/util/swing/TWizardPage.java
+++ b/
src/de/todesbaum/util/swing/TWizardPage.java
@@
-1,5
+1,5
@@
/*
/*
- * todesbaum-lib -
+ * todesbaum-lib -
* Copyright (C) 2006 David Roden
*
* This program is free software; you can redistribute it and/or modify
* Copyright (C) 2006 David Roden
*
* This program is free software; you can redistribute it and/or modify
@@
-23,22
+23,25
@@
import javax.swing.JPanel;
/**
* @author David Roden <droden@gmail.com>
/**
* @author David Roden <droden@gmail.com>
- * @version $Id
: TWizardPage.java 427 2006-03-29 18:03:06Z bombe
$
+ * @version $Id$
*/
public class TWizardPage extends JPanel {
*/
public class TWizardPage extends JPanel {
+ protected final TWizard wizard;
protected String heading;
protected String description;
protected String heading;
protected String description;
- public TWizardPage() {
+ public TWizardPage(final TWizard wizard) {
+ this.wizard = wizard;
}
}
- public TWizardPage(String heading) {
+ public TWizardPage(final TWizard wizard, String heading) {
+ this.wizard = wizard;
this.heading = heading;
}
this.heading = heading;
}
- public TWizardPage(String heading, String description) {
- this(heading);
+ public TWizardPage(
final TWizard wizard,
String heading, String description) {
+ this(
wizard,
heading);
this.description = description;
}
this.description = description;
}