web hosting and development forums
Web Design and Development Forums Archive


Index - JAVA programming forum

Is there a way to let java paint the JFrame too?


Post reply

I'm developing an Application which has a JFrame (Window) Containing a JDesktopPane containing JInternalFrame's. When I now set the Look&Feel for my Application all the JInternalFrames are painted according to the L&F. However the JFrame (out-most window) still looks like every other native-windows application. Is there a way to let java paint the JFrame too? (it seems it get's painted by windows)
Shirley Kidman, is it the default LnF?
No, it's a "Skin Look & Feel" (found it somewhere in google) But i could also try to set another one...
Shirley Kidman did you try playing around with SwingSet2 (the supplied Swing demo) ?
Sasagua, metal L&F is the same... Mupolan, not yet, where could I get it?
It comes with SDK
Ok.....
Shirley Kidman you read this: http://java.sun.com/docs/books/tutorial/uiswing/misc/plaf.html ?
Shirley Kidman , or just google " SwingSet2 java " (cant remember where it is put) ah ! on my machine , the installer threw it at C:\Program Files\Java\jdk1.5.0_05\demo\jfc\SwingSet2 Also try http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFrame.html#setDefaultLookAndFeelDecorated(boolean)
Mupolan,This is it...many thanks!!!!




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com