I've been struggling with getting my internal frames to show and found the problem to be bigger than my code. Any ideas on what the problem really is is appreciated.
My code has one class for the JFrame with a JDesktopPane (desk). This class appears and seems to work fine. I have another class for a JInternalFrame. This class never appears as in the JDesktopPane, however if I change it to a simple JFrame it appears and works fine.
I've tried sending the JInternalFrame class the desktop, I've tried desk.add() in the JFrame class. I've tried deleting the JInternalFrame class and just adding the data as a new method in the JFrame class.... nothing seemed to work.
So I tried compiling the MyInterlaFrameDemo.java file from sun.com and was rather suprised that the internalframes never showed. I believe I have the latest and greatest Java version downloaded.
What might be the problem?
Andrew
a.k.a. Dark Helmet
"What's the matter Colonel Sandurz? Chicken?
My code has one class for the JFrame with a JDesktopPane (desk). This class appears and seems to work fine. I have another class for a JInternalFrame. This class never appears as in the JDesktopPane, however if I change it to a simple JFrame it appears and works fine.
I've tried sending the JInternalFrame class the desktop, I've tried desk.add() in the JFrame class. I've tried deleting the JInternalFrame class and just adding the data as a new method in the JFrame class.... nothing seemed to work.
So I tried compiling the MyInterlaFrameDemo.java file from sun.com and was rather suprised that the internalframes never showed. I believe I have the latest and greatest Java version downloaded.
What might be the problem?
Andrew
a.k.a. Dark Helmet
"What's the matter Colonel Sandurz? Chicken?