diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-18 20:20:53 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-18 20:20:53 +0000 |
| commit | ace76b508e2f6c1bc420112306ebee52f478de13 (patch) | |
| tree | afaba5e0bbaf5a8e063e168ae478eae7f8056407 /sources/simulator/VSSimulationPanel.java | |
| parent | 5d50dcd635b9f17eb89688650860730b8e3e859f (diff) | |
Process Crash and Process Recover Events work with the new Task maanger.
Diffstat (limited to 'sources/simulator/VSSimulationPanel.java')
| -rw-r--r-- | sources/simulator/VSSimulationPanel.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/simulator/VSSimulationPanel.java b/sources/simulator/VSSimulationPanel.java index b1836c1..e9ade8c 100644 --- a/sources/simulator/VSSimulationPanel.java +++ b/sources/simulator/VSSimulationPanel.java @@ -622,13 +622,13 @@ public class VSSimulationPanel extends JPanel implements Runnable, MouseMotionLi } } - public void mouseClicked(MouseEvent e) { - final VSProcess process = getProcessAtYPos(e.getY()); + public void mouseClicked(MouseEvent me) { + final VSProcess process = getProcessAtYPos(me.getY()); if (process == null) return; - if (SwingUtilities.isRightMouseButton(e)) { + if (SwingUtilities.isRightMouseButton(me)) { ActionListener actionListener = new ActionListener() { public void actionPerformed(ActionEvent ae) { String actionCommand = ae.getActionCommand(); @@ -667,7 +667,7 @@ public class VSSimulationPanel extends JPanel implements Runnable, MouseMotionLi item.addActionListener(actionListener); popup.add(item); - popup.show(e.getComponent(), e.getX(), e.getY()); + popup.show(me.getComponent(), me.getX(), me.getY()); } else { editProcess(process); |
