Results 1 to 5 of 5
Thread: JTextField event help
- 03-23-2012, 12:20 PM #1
Member
- Join Date
- Sep 2011
- Location
- Philippines
- Posts
- 41
- Rep Power
- 0
- 03-23-2012, 12:28 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: JTextField event help
Look at the API and search for addMouse.
Everything that extends Component (which is basically everything on your GUI) can have a MouseListener added to it.Please do not ask for code as refusal often offends.
- 03-23-2012, 12:48 PM #3
Member
- Join Date
- Sep 2011
- Location
- Philippines
- Posts
- 41
- Rep Power
- 0
Re: JTextField event help
One does not simply give tutorial links on a beginner X) Fixed it anyway using MouseEvent.
- 03-23-2012, 01:26 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: JTextField event help
That's not a tutorial.
It's the API.
It's the single most important document a Java developer can have access to.
I also pointed you to exactly the correct part, which you apparently also found by some other means?Please do not ask for code as refusal often offends.
- 03-26-2012, 12:23 PM #5
Similar Threads
-
New user needing help adding FocusListener event to selectAll in JTextField
By leroycorbid in forum AWT / SwingReplies: 6Last Post: 02-25-2012, 04:35 AM -
Press enter on JTextField to make focus on next JTextField?
By userno69 in forum AWT / SwingReplies: 3Last Post: 11-14-2011, 05:13 AM -
Problem Loading JTextField in JFrame / Problema al cargar JTextField en JFrame
By thor_inc in forum AWT / SwingReplies: 0Last Post: 08-30-2011, 09:18 AM -
having trouble with event handling and JTextField
By v1nsai in forum New To JavaReplies: 5Last Post: 06-01-2009, 02:19 PM -
how to access jTextField of one JFrame1 from JFrame2 & Modify JTextField contents
By sumit1mca in forum AWT / SwingReplies: 1Last Post: 01-30-2009, 06:44 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks