diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 12:04:39 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 12:04:39 +0000 |
| commit | 176ecee3e1adce701f05d118372e916c5350b880 (patch) | |
| tree | 2f4cb48e8fecd8ee234a196dc3f73cec6b24ff7f /sources/simulator/VSSimulation.java | |
| parent | c34dd8f9e21c95d137fd504b6081ac1db64d254a (diff) | |
design failure. no extra protocols editor class!
Diffstat (limited to 'sources/simulator/VSSimulation.java')
| -rw-r--r-- | sources/simulator/VSSimulation.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java index dc1aa16..cc0ba16 100644 --- a/sources/simulator/VSSimulation.java +++ b/sources/simulator/VSSimulation.java @@ -346,7 +346,6 @@ public class VSSimulation extends JPanel { if (processNum == simulationCanvas.getNumProcesses()) { tabbedPane.setEnabledAt(1, false); - tabbedPane.setEnabledAt(2, false); if (tabbedPane.getSelectedIndex() == 1) tabbedPane.setSelectedIndex(0); @@ -358,14 +357,11 @@ public class VSSimulation extends JPanel { VSProcess process = getSelectedProcess(); VSProcessEditor processEditor = new VSProcessEditor(prefs, process); tabbedPane.setComponentAt(1, processEditor.getContentPane()); - VSProtocolsEditor protocolsEditor = new VSProtocolsEditor(prefs, process); - tabbedPane.setComponentAt(2, protocolsEditor.getContentPane()); } } }); tabbedPane.add(prefs.getString("lang.variables"), null); - tabbedPane.add(prefs.getString("lang.protocols"), null); editPanel.add(processesComboBox); editPanel.add(tabbedPane); |
