From 2a9ef47030dd29a5927ca0d63b662f5c42fa4ca8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 14 Jun 2008 18:06:32 +0000 Subject: bugfixes in VSTaskManagerCellEditor and the cell for the PID has a bigger width. --- sources/simulator/VSSimulator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/simulator/VSSimulator.java') 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); -- cgit v1.2.3