summaryrefslogtreecommitdiffstats
path: root/src/de
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-04-27 23:05:31 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-04-27 23:05:31 +0200
commit7fc9cecb0ca9019fd8f271e7d61927fcbc88cf44 (patch)
treec370816069bd281b1bf3a8301c7f9ab4838198f5 /src/de
parentcaf910331b0910cef782b0890c8c0a3c80f4db51 (diff)
downloadJava2-7fc9cecb0ca9019fd8f271e7d61927fcbc88cf44.tar.gz
Java2-7fc9cecb0ca9019fd8f271e7d61927fcbc88cf44.zip
Comment a debugging feature out
Diffstat (limited to 'src/de')
-rw-r--r--src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java b/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
index 7884659..41b229d 100644
--- a/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
+++ b/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
@@ -47,6 +47,10 @@ public class TextFieldWithContextMenu extends TextField
//The first time properties are strange.
//The multiple pops are needed as the TextChangeListener
//adds the actual text before and after the setText
+
+ //Debugger is unusable while ContextMenu is open.
+ //contextMenu.hide();
+
undoStack.pop();
setText(undoStack.pop());
undoStack.pop();