Fix calculation of project size.
[jSite.git] / src / de / todesbaum / util / swing / TWizardPage.java
index ec5942e..a10b475 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * todesbaum-lib - 
- * Copyright (C) 2006 David Roden
+ * jSite - TWizardPage.java - Copyright © 2006–2012 David Roden
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,22 +22,25 @@ import javax.swing.JPanel;
 
 /**
  * @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 {
 
+       protected final TWizard wizard;
        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;
        }
 
-       public TWizardPage(String heading, String description) {
-               this(heading);
+       public TWizardPage(final TWizard wizard, String heading, String description) {
+               this(wizard, heading);
                this.description = description;
        }