Added missing Override annotations.

This commit is contained in:
akwizgran
2011-10-08 12:45:49 +01:00
parent a3a5ebc14f
commit 7eaefd97cb
3 changed files with 3 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ class InvitationWizard extends Wizard {
super(i18n, new Stri18ng("INVITATION_TITLE", i18n), WIDTH, HEIGHT); super(i18n, new Stri18ng("INVITATION_TITLE", i18n), WIDTH, HEIGHT);
} }
@Override
public void display() { public void display() {
showPanel("Intro"); showPanel("Intro");
super.display(); super.display();

View File

@@ -12,6 +12,7 @@ class SetupWizard extends Wizard {
super(i18n, new Stri18ng("SETUP_TITLE", i18n), WIDTH, HEIGHT); super(i18n, new Stri18ng("SETUP_TITLE", i18n), WIDTH, HEIGHT);
} }
@Override
public void display() { public void display() {
showPanel("Language"); showPanel("Language");
super.display(); super.display();

View File

@@ -81,6 +81,7 @@ public class Wizard implements I18n.Listener {
frame.setPreferredSize(new Dimension(width, height)); frame.setPreferredSize(new Dimension(width, height));
frame.setResizable(false); frame.setResizable(false);
frame.addWindowListener(new WindowAdapter() { frame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) { public void windowClosing(WindowEvent e) {
closeButtonPressed(); closeButtonPressed();
} }