Re: Netbeans using old java theme look!
tobiaswk <[email protected]> Sat, 15 Dec 2007 02:46:14 -0800 (PST)
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Thank you! It partially working now. Now I only have one problem... if you
look at this screenshot you will notice that the background colour is not
using the system-look. I cant even change the background to correct the
problem. What is the problem?
http://www.nabble.com/file/p14349623/nbp.jpg
Best regards Tobias and thank you for your help so far! :)
Anuradha G wrote:
>
> you have put this code to main method
>
> try {
>
>
>
> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName
> ());
> } catch (ClassNotFoundException ex) {
> Exceptions.printStackTrace(ex);
> } catch (InstantiationException ex) {
> Exceptions.printStackTrace(ex);
> } catch (IllegalAccessException ex) {
> Exceptions.printStackTrace(ex);
> } catch (UnsupportedLookAndFeelException ex) {
> Exceptions.printStackTrace(ex);
> }
> }
>
> On Dec 15, 2007 1:14 AM, tobiaswk <[email protected]> wrote:
>
>>
>> Hello.
>>
>> I have a weird and very annoying problem. When I compile and run I get
>> "the
>> old" java theme look instead of the native system look. It has done this
>> since I upgraded to version 6.0 final of netbeans. The really weird thing
>> is
>> that in the GUI builder I have the native windows xp look, like it should
>> be, but not when compile and run.
>>
>> Here is a screenshot showing the problem:
>> http://www.nabble.com/file/p14339758/netbeansprob.jpg
>>
>> Best regards Tobias
>> Hope on a solution! :)
>> --
>> View this message in context:
>> http://www.nabble.com/Netbeans-using-old-java-theme-look%21-tp14339758p14339758.html
>> Sent from the Netbeans - UI mailing list archive at Nabble.com.
>>
>
>
>
> --
> Anuradha G
>
>
--
View this message in context: http://www.nabble.com/Netbeans-using-old-java-theme-look%21-tp14339758p14349623.html
Sent from the Netbeans - UI mailing list archive at Nabble.com.