Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Different look and feel when run outside of eclipse(Look and Feel problem)
Different look and feel when run outside of eclipse [message #717221] Fri, 19 August 2011 15:54 Go to next message
Kelly Wiles is currently offline Kelly WilesFriend
Messages: 4
Registered: August 2011
Junior Member
Windows 7 Pro 64 bit version
Java 1.6.0_26 32 bit version
Eclipse Indigo 32 bit version

This is a SWT program but also uses the AWT Canvas to show video.

When I run my program from within eclipse I get a look and feel, see inside_eclipse.png

And When I run it standalone outside of eclipse I get a different look and feel, see outside_eclipse.png

The desktop icon is using the c:\Windows\SysWOW64\javaw.exe
Eclipse is set to use c:\Program Files (x86)\Java\jre6

When I change the desktop icon to use the c:\Program Files (x86)\Java\jre6\bin\javaw.exe it appears like the inside_eclipse image. This is the look and feel I want.

I am thinking I always want to use the SysWOW64 in my desktop icon because I do nto know were Java is installed at.

The javaw.exe is the same in both directories, I made sure of that.

I have printed out what the UIManager thought he was using, it was the same on both
Have also looked for javaw.exe.manifest files, did not find any on my system.

So my question is why the different look and feel.

Thanks for any help.
Re: Different look and feel when run outside of eclipse [message #727493 is a reply to message #717221] Wed, 21 September 2011 12:57 Go to previous message
Kelly Wiles is currently offline Kelly WilesFriend
Messages: 4
Registered: August 2011
Junior Member
Found the answer.

The icon properties under the Compatibility tab, the 'Disable visual themes' was checked. This is windows 7 pro.

I guess the INNO install program created it this way, have not found a way to change that in the INNO script yet.

Thanks
Previous Topic:Placing own errors in Problems or Error Log View
Next Topic:Passing values to codewritten in Flex (in mxml) frmo java (android)
Goto Forum:
  


Current Time: Tue Mar 19 09:13:18 GMT 2024

Powered by FUDForum. Page generated in 0.03980 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top