Hi, I want to have a JDialog appear in an JApplet, but have the JApplet as the parent frame to the JDialog. Unfortunately JApplet is a super class to Frame / JFrame. I've tried casting it to Frame but (predictably) this gave me a runtime error. Of course I could have no parent for the JDialog, but I would prefer the functionality you get when the JDialog has a parent. Anyone got any ideas how I can do this? Thanks, NIgel
posted 14 years ago
Hi Nigel, I would create a frame but don't make it visible and use as the parent of the dialog.