Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a Dialog in an Applet

Status
Not open for further replies.

Sedai

Programmer
Mar 4, 2001
158
US

I wanted to create a small modal window
and found out about the Dialog class.

However, I need to call the dialog from within an applet.
Is that possible - I kept getting some errors.

Actually what I need to do this is check the input a user has typed into a TextField, and if it's invalid some kind
of a warning should pop-up.

Any suggestions? Avendeval


 
If the applets imbedded in a browser I'm pretty sure (like 99.99%) you won't be able to popup a Dialogue window on the PC - unless there is some really fancy trick I'm not aware of. Think about it - you are confined to the browser when running an applet right ?

What I would suggest instead is to have status bar on the bottom of your applet and convey messages to the user that way. RjB.
 
Yeah, that's exactly what my logic was - but then I remembered Yahoo! chat (well, I don't know if u go there :))
and ther DO have such small pop-up boxes, which are not modal, but still work.
But I guess I will stick with the status bar.
Thanks!

Avendeval


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top