summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc')
-rw-r--r--Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc b/Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc
new file mode 100644
index 0000000..3e9f750
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/hjp5/examples/TextField2.inc
@@ -0,0 +1,7 @@
+/* TextField2.inc */
+
+public void textValueChanged(TextEvent event)
+{
+ TextField tf = (TextField)event.getSource();
+ System.out.println("textValueChanged: "+tf.getText());
+} \ No newline at end of file