summaryrefslogtreecommitdiff
path: root/sources/simulator/VSSimulation.java
diff options
context:
space:
mode:
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;
}