diff --git a/AlgebraicDataflowArchitectureModel/src/application/views/NavigationWindow.java b/AlgebraicDataflowArchitectureModel/src/application/views/NavigationWindow.java index 07787f9..cddad6c 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/views/NavigationWindow.java +++ b/AlgebraicDataflowArchitectureModel/src/application/views/NavigationWindow.java @@ -13,10 +13,13 @@ import java.awt.event.ActionListener; public class NavigationWindow extends JDialog implements IStageChangeListener { - private String title = "Navigation"; - private Editor editor; - private JToggleButton dataFlowModelingButton; - private JToggleButton pushPullSelectionButton; + + private static final String TITLE = "Navigation"; + private final Editor editor; + + private final JToggleButton dataFlowModelingButton; + private final JToggleButton pushPullSelectionButton; + private boolean forbidReentry = false; public NavigationWindow(ApplicationWindow owner, Editor editor) { @@ -29,7 +32,7 @@ pushPullSelectionButton.setEnabled(false); dataFlowModelingButton.setSelected(true); - setTitle(title); + setTitle(TITLE); setDefaultCloseOperation(HIDE_ON_CLOSE); Container panel = getContentPane(); panel.setLayout(new GridLayout(2, 1));