Applet with dialogs
Hi,
First sorry for my english.
I am trying to make an applet with a button which opens a swing custom dialog. Ive reading the swing Java tutorial and I have seen some examples, but all of the custom dialog classes take a frame argument from a window, that uses to call the dialog base class, but I need to open the dialog from an applet, not from a main window. How can I do these? Could somebody knows where can I see an example that illustrate an applet with dialogs? Thanks.
Regina
[531 byte] By [
ReginaDCs] at [2007-9-26 1:22:19]

the frame a dialog takes is used so that the dialog will always be on top of that frame.
however if i say Dialog D = new Dialog(new Frame(), ...)//and whatever more comments you need
i stil get a dialog and my program / applet won't continue untill the applet is made invisible. disadvantage is that the applet can get on top of the dialog effectivly hiding it from you, making you wonder why nothing happens anymore. alt tab will bring the dialog back to front
Mr Mean