Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1283 | Replies: 4 | Solved
![]() |
•
•
•
•
| |
Im pretty new to java and I have created a couple simple programs... and I was just wandering how exactly to use textFields and textAreas. I have created a textfield before, but I need a simple textField that works like the windows prompt. I just want a textField that will prompt the user for certain data and then return data. I already have the program, I just need to find out how to make it execute in a textField.
Thanks for any help....
Thanks for any help....
•
•
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation:
Rep Power: 9
Solved Threads: 18
I don't think you want JTextFields. Look up JOptionPanes. They give you many options to get input from the user via an input box.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Hybrid Mode