•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 391,709 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,377 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1180 | 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)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
- how to insert data into the database in vb.net using textfields. (VB.NET)
- Entering through mulitple Textfields (Java)
- creating dynamic textfields (Java)
- ActionListeners on the components of a panel (Java)
- Simple problem regardingform elements (ASP)
- changing the color of a HTML form selection (HTML and CSS)
Other Threads in the Java Forum
- Previous Thread: Java multiple text file saving
- Next Thread: Pictures



Linear Mode