From 6059b54e23e742db068da5e4a53b8b1b046db121 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 21 May 2008 01:54:06 +0000 Subject: Introduced a new VSEditorFrame. No more need for the VSProtcolEditor! --- sources/simulator/VSSimulation.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sources/simulator/VSSimulation.java') 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; } -- cgit v1.2.3