summaryrefslogtreecommitdiff
path: root/sources/simulator/VSSimulation.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-21 11:25:06 +0000
committerPaul Buetow <paul@buetow.org>2008-05-21 11:25:06 +0000
commit47f50635ca3fa3665f2b0bfb3cc29b2e9b88e88e (patch)
tree8539c14942ff620b0ee11d861b90e8026445577b /sources/simulator/VSSimulation.java
parent986ba9e27e6a3f6bced32d675246c85448b83f4f (diff)
Initial JTable editor.
Diffstat (limited to 'sources/simulator/VSSimulation.java')
-rw-r--r--sources/simulator/VSSimulation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java
index 0216550..31bc536 100644
--- a/sources/simulator/VSSimulation.java
+++ b/sources/simulator/VSSimulation.java
@@ -287,7 +287,7 @@ public class VSSimulation extends JPanel {
localPIDComboBox.addItem(prefs.getString("lang.all"));
globalPIDComboBox.addItem(prefs.getString("lang.all"));
- tabbedPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
+ tabbedPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
tabbedPane.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent ce) {
JTabbedPane pane = (JTabbedPane) ce.getSource();
@@ -350,7 +350,7 @@ public class VSSimulation extends JPanel {
tabbedPane.add(prefs.getString("lang.variables"), variablesPanel);
tabbedPane.add(prefs.getString("lang.variables.global"), globalVariablesPanel);
- VSSimulationEditor editor = new VSSimulationEditor(prefs, simulatorFrame);
+ VSSimulationEditor editor = new VSSimulationEditor(prefs, simulatorFrame);
globalVariablesPanel.add(new JScrollPane(editor.getContentPane()));
editPanel.add(processesComboBox);