Is it possible to paint on a JDesktopPane?
Author |
Message |
inflamous
|
Posted: Fri Jun 08, 2007 3:15 pm Post subject: Is it possible to paint on a JDesktopPane? |
|
|
Hi, I've been trying to create a JDesktopPane that has an "animated" background (just clouds moving in the background right now).
The problem is that whenever I create a new JInternalFrame (I made classes that extend JInternalFrames), they aren't visible (even though I used the setVisible method as well as adding it to the JDesktopPane), but I can still move them around and click on the buttons inside of them.
Is it possible to both paint and have internal frames? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
inflamous
|
Posted: Sat Jun 09, 2007 10:27 am Post subject: RE:Is it possible to paint on a JDesktopPane? |
|
|
Nevermind, I fixed it by using and resizing a panel inside the JDesktopPane. |
|
|
|
|
|
|
|