This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Create A Pop-Up Window for Input

 
Brian Pembroke
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm currently modifying an existing Applet. I have a requirement where I need to prompt the user for input. I would like to prompt the user with a pop-up for the input. How do you go about this in an Applet? Does the pop-up need to be in another browser window? Any guidance or example would be greatly appreciated.
 
Paul Clapham
Sheriff
Pie
Posts: 20955
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do it exactly the same way as in any other Swing program. A JDialog of some kind is the best way. Here's the tutorial: How to Make Dialogs.
 
Brian Pembroke
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Dialog windows be used to input data?

Thanks for the reply.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brian Pembroke wrote:Can Dialog windows be used to input data?

Did you check out the link which Paul suggested?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic