Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Create A Pop-Up Window for Input  RSS feed

 
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
Posts: 22215
38
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
Bartender
Posts: 11445
18
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
Boost this thread!