Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Is it possible to paint on a JDesktopPane?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
inflamous




PostPosted: 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
Sponsor
sponsor
inflamous




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: