Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField" Watch "JTextField" New topic
Author

JTextField

r phipps
Ranch Hand

Joined: Sep 14, 2004
Posts: 60
I have a need to have two JTextFields but only have them hit enter after entering the 2nd one. I know how to handle getting the value from the 2nd field that they have hit enter in but how do i receive the value from the first field?
r phipps
Ranch Hand

Joined: Sep 14, 2004
Posts: 60
I figured it out from one of my other books. Much better book than the one i am using for my class.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Moving to our Swing forum...


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTextField