File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Re: Pop up box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Re: Pop up box" Watch "Re: Pop up box" New topic
Author

Re: Pop up box

Joe Cheung
Ranch Hand

Joined: Oct 18, 2002
Posts: 104
Dear all,
Does J2ME have any class or method to prompt pop-up box which I want to use to display some error message to users? The effect is similiar to the javascript pop-up window to alert the users that they have done something wrong.
Regards,
Joe


Joe
Carlos Quiroz
Greenhorn

Joined: Oct 27, 2003
Posts: 14
Hi
Try the alert class. You can display a message and have it on for a while ot until the user presses a key
Regards
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
You'll find that class Alert has gained some new functionality in MIDP 2.0. In particular, it was often a problem in MIDP 1.0 that you couldn't get a callback from an Alert when it was dismissed; with MIDP 2.0, you can set the Alert's CommandListener so that some object gets a 'commandAction' callback when it's dismissed - great!
 
 
subject: Re: Pop up box
 
Similar Threads
New at this...need help
Referring to a child window?
pop in IE vs Firefox
Reloading a parent window 1 after submit from window 2
S:file tag restrict file types