trigger event with button

could anybody tell me if it is possible to trigger event of Jtextbox with a Jbutton

[90 byte] By [shagya] at [2007-11-27 10:35:08]
# 1

put the code from the eventListener into a separate method, which can then be

called from both the eventListener and the button

Michael_Dunna at 2007-7-28 18:33:16 > top of Java-index,Desktop,Core GUI APIs...
# 2

Whats a JTextBox?

camickra at 2007-7-28 18:33:16 > top of Java-index,Desktop,Core GUI APIs...
# 3

sorry about that not jtextbox it is jtextfield

shagya at 2007-7-28 18:33:16 > top of Java-index,Desktop,Core GUI APIs...
# 4

"How to Use Actions"

http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html

camickra at 2007-7-28 18:33:16 > top of Java-index,Desktop,Core GUI APIs...