summaryrefslogtreecommitdiff
path: root/sources/simulator/VSSimulation.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-21 01:54:06 +0000
committerPaul Buetow <paul@buetow.org>2008-05-21 01:54:06 +0000
commit6059b54e23e742db068da5e4a53b8b1b046db121 (patch)
tree72e51fefd35efe5d013d16b4ac26240d7216660f /sources/simulator/VSSimulation.java
parent8d5c21477617e4d08bd098069c7628830675abb7 (diff)
Introduced a new VSEditorFrame.
No more need for the VSProtcolEditor!
Diffstat (limited to 'sources/simulator/VSSimulation.java')
-rw-r--r--sources/simulator/VSSimulation.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java
index cf1e677..bd19ff0 100644
--- a/sources/simulator/VSSimulation.java
+++ b/sources/simulator/VSSimulation.java
@@ -307,13 +307,6 @@ public class VSSimulation extends JPanel {
splitPane1.setOneTouchExpandable(true);
tabbedPane.addTab(prefs.getString("lang.events"), splitPane1);
- //JSplitPane splitPane2 = new JSplitPane();
- //splitPane2.setOrientation(JSplitPane.VERTICAL_SPLIT);
- //splitPane2.setTopComponent(processesComboBox);
- //splitPane2.setBottomComponent(tabbedPane);
- editPanel.add(processesComboBox);
- editPanel.add(tabbedPane);
-
processesComboBox.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
localTextFields.set(lastSelectedProcessNum, localTextField.getText());
@@ -352,7 +345,9 @@ public class VSSimulation extends JPanel {
globalVariablesPanel = new JPanel();
tabbedPane.add(prefs.getString("lang.variables"), variablesPanel);
tabbedPane.add(prefs.getString("lang.variables.global"), globalVariablesPanel);
- //tabbedPane.add(prefs.getString("lang.variables.global"), new JTextArea(0, 0));
+
+ editPanel.add(processesComboBox);
+ editPanel.add(tabbedPane);
return editPanel;
}