import java.util.List;
import java.util.Properties;
-import javax.swing.JFrame;
-
import de.todesbaum.jsite.application.Freenet7Interface;
import de.todesbaum.jsite.main.Main;
import de.todesbaum.jsite.main.Version;
/** Last found version. */
private Version lastVersion = Main.getVersion();
- /** The parent of the dialog. */
- private final JFrame parent;
-
/** The freenet interface. */
private final Freenet7Interface freenetInterface;
* Creates a new update checker that uses the given frame as its parent and
* communications via the given freenet interface.
*
- * @param parent
- * The parent of the dialog
* @param freenetInterface
* The freenet interface
*/
- public UpdateChecker(JFrame parent, Freenet7Interface freenetInterface) {
- this.parent = parent;
+ public UpdateChecker(Freenet7Interface freenetInterface) {
this.freenetInterface = freenetInterface;
}
jSiteIcon = IconLoader.loadIcon("/jsite-icon.png");
wizard.setIcon(jSiteIcon);
- updateChecker = new UpdateChecker(wizard, freenetInterface);
+ updateChecker = new UpdateChecker(freenetInterface);
updateChecker.addUpdateListener(this);
updateChecker.start();