diff options
| author | Paul Buetow <paul@buetow.org> | 2008-06-14 18:12:04 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-06-14 18:12:04 +0000 |
| commit | aae6dc9edffd1838222866a8c299639d0425b9c3 (patch) | |
| tree | aee6ec8513cd9ad89b2d6f8e9956d04275cca1d3 /sources/simulator/VSSimulatorCanvas.java | |
| parent | 9a03a3dd9ce5cc9a0172b15ff92231e1b6c499c7 (diff) | |
Added a new text.
Diffstat (limited to 'sources/simulator/VSSimulatorCanvas.java')
| -rw-r--r-- | sources/simulator/VSSimulatorCanvas.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sources/simulator/VSSimulatorCanvas.java b/sources/simulator/VSSimulatorCanvas.java index 688f845..5480d13 100644 --- a/sources/simulator/VSSimulatorCanvas.java +++ b/sources/simulator/VSSimulatorCanvas.java @@ -556,14 +556,18 @@ public class VSSimulatorCanvas extends Canvas JPopupMenu popup = new JPopupMenu(); JMenuItem item = null; - if (process != null) { + + if (process != null) item = new JMenuItem( finalPrefs.getString("lang.process.selected") + ": " + process.getProcessID()); - item.setEnabled(false); - popup.add(item); - popup.addSeparator(); - } + else + item = new JMenuItem( + finalPrefs.getString("lang.process.not.selected")); + + item.setEnabled(false); + popup.add(item); + popup.addSeparator(); item = new JMenuItem( finalPrefs.getString("lang.process.edit")); |
