summaryrefslogtreecommitdiff
path: root/sources/simulator/VSSimulator.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-06-14 18:06:32 +0000
committerPaul Buetow <paul@buetow.org>2008-06-14 18:06:32 +0000
commit2a9ef47030dd29a5927ca0d63b662f5c42fa4ca8 (patch)
tree5c575d077e64fcf30855b4497e5aba413deb4c36 /sources/simulator/VSSimulator.java
parentdfed0ea3ecfd75d0d1b11adb7f06ab41b713ee0c (diff)
bugfixes in VSTaskManagerCellEditor
and the cell for the PID has a bigger width.
Diffstat (limited to 'sources/simulator/VSSimulator.java')
-rw-r--r--sources/simulator/VSSimulator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/simulator/VSSimulator.java b/sources/simulator/VSSimulator.java
index 8795c43..24eda16 100644
--- a/sources/simulator/VSSimulator.java
+++ b/sources/simulator/VSSimulator.java
@@ -548,7 +548,7 @@ public class VSSimulator extends JPanel implements VSSerializable {
comboBox.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
int index = comboBox.getSelectedIndex() - 1;
- if (model.rowExists(index)) {
+ if (model.rowExists(row)) {
VSTask task = model.removeTaskAtRow(row);
VSProcess process =
simulatorCanvas.getProcess(index);
@@ -979,7 +979,7 @@ public class VSSimulator extends JPanel implements VSSerializable {
col.setResizable(false);
col = table.getColumnModel().getColumn(1);
- col.setMaxWidth(23);
+ col.setMaxWidth(40);
col.setResizable(false);
col = table.getColumnModel().getColumn(2);