Results 1 to 5 of 5
Thread: launching Jframe from text field
- 10-14-2008, 05:39 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 2
- Rep Power
- 0
launching Jframe from text field
Hey
I want to click on a textfield (i.e two clicks) so that this then opens up a jframe which i then enter text in using buttons to then add this data to the system. How do i go about opening the panel from the text field as i have the panel with the text entry complete.
thanks
- 10-14-2008, 05:43 PM #2
Do you know about listeners?
Do you know how to open a JFrame?
Put the code to open the JFrame in the listener.
Or please explain more or post your code with comments in it about what you want to do.
- 10-14-2008, 05:57 PM #3
Member
- Join Date
- Oct 2008
- Posts
- 2
- Rep Power
- 0
not sure how to add the listener to the text field - i.e embed it
- 10-14-2008, 06:44 PM #4
Read the API doc for the textfield. It has add...Listener methods.
Do a search for the methods you find for sample code.
What does "embed it" mean?
-
Similar Threads
-
need to add text field on existing dialog
By SHAshank1 in forum SWT / JFaceReplies: 0Last Post: 07-23-2008, 03:15 PM -
get numeric value from a text field
By Lehane_9 in forum New To JavaReplies: 2Last Post: 06-14-2008, 03:19 AM -
Regarding Text Field
By adeeb in forum AWT / SwingReplies: 1Last Post: 06-05-2008, 11:01 PM -
[SOLVED] How to check what type of value entered in text field
By Renegade85 in forum New To JavaReplies: 2Last Post: 04-28-2008, 10:26 AM -
Waste Space & Text Field
By Gajesh Tripathi in forum AWT / SwingReplies: 2Last Post: 12-01-2007, 07:44 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks