File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField" Watch "JTextField" New topic


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: 15302

Moving to our Swing forum...

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: JTextField
jQuery in Action, 3rd edition