Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes SWING/JFC/APPLET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWING/JFC/APPLET" Watch "SWING/JFC/APPLET" New topic
Author

SWING/JFC/APPLET

mukesh
Greenhorn

Joined: Dec 17, 2001
Posts: 3
i am designing an applet using swing(JApplet), i want to display a popup window on click of a button. i have used JWindow but is shows a status bar saying "warning:Applet Window"
if anyone knows how to remove that or a better way to create a popup window that please reply.
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
Use JDialogs, they are the best in displaying popup messages. They can be modal also & you can customize it to display whatever type of messages you want for eg.,Information , Error , confirmation.


- Vinod<br />-------<br />SCJP2
mukesh
Greenhorn

Joined: Dec 17, 2001
Posts: 3
my requirement is, it should not show any top title bar and also any status bar saying "warning:applet window".is it possible using JDialog?
Originally posted by Vinod Venugopal:
Use JDialogs, they are the best in displaying popup messages. They can be modal also & you can customize it to display whatever type of messages you want for eg.,Information , Error , confirmation.

Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi,
In order to get rid of the Warning you need to sign your applet. The warning exists to tell the user that this is an unsigned applet and should not be ignored. Once you have signed your applet the warning will magically not appear!
NOTE: Your name doesn't fit with the naming policy here at the Ranch. Please read the naming policy here and re-register with a valid name.
Regards,
Manfred.
[This message has been edited by Manfred Leonhardt (edited December 17, 2001).]
mukesh
Greenhorn

Joined: Dec 17, 2001
Posts: 3
hi,
can i design hyperlinks using swing(same as html links)?
Originally posted by Manfred Leonhardt:
Hi,
In order to get rid of the Warning you need to sign your applet. The warning exists to tell the user that this is an unsigned applet and should not be ignored. Once you have signed your applet the warning will magically not appear!
NOTE: Your name doesn't fit with the naming policy here at the Ranch. Please read the naming policy here and re-register with a valid name.
Regards,
Manfred.
[This message has been edited by Manfred Leonhardt (edited December 17, 2001).]

Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
You can use the HTML Editor Kit to implement hyper links in your application..use a JEditorPane to display a webpage & then implement the HyperLinkListener interface for hyperlink events.
 
 
subject: SWING/JFC/APPLET