JSylvia007
OSNN Junior Addict
- Joined
- 20 Dec 2002
- Messages
- 37
I have a question pertaining to Java... I'm new to Swing, and javax, and all that, but i've been programming in java for about a year. I searched the web, but cant seem to find anyone who might have any insight to this problem.
I'm teaching myself swing, and decided that I would mess around with UIManage, to change the look of my application. Very Simple application, like i said, i'm only using it to learn swing... I can get the MetalLookAndFeel, and MotifLookAndFeel to work, but i can't seem to get the WindowsLookAndFeel to work correctly. You see, I'm using a "hacked" msstyles file. I created the theme using StyleBuilder, and windows accepts it fine, using the uxtheme patch found here on ntfs.org. When i tell my java application to use the WindowsLookAndFeel, it yells, and I get a dialog box that opens up and has the title "java.exe".
Which I find strance since windows uses this file perfectly. So since that seemed to be a problem, I temporarily changed my theme back to the windows Luna default theme. My program worked without a hickup.
My question is... Why won't it use my MSStyles file if windows will? and where might I go to ask this question to Java Guru's?
my source code is available if you'd like to see what I did
~Jake
I'm teaching myself swing, and decided that I would mess around with UIManage, to change the look of my application. Very Simple application, like i said, i'm only using it to learn swing... I can get the MetalLookAndFeel, and MotifLookAndFeel to work, but i can't seem to get the WindowsLookAndFeel to work correctly. You see, I'm using a "hacked" msstyles file. I created the theme using StyleBuilder, and windows accepts it fine, using the uxtheme patch found here on ntfs.org. When i tell my java application to use the WindowsLookAndFeel, it yells, and I get a dialog box that opens up and has the title "java.exe".
Which I find strance since windows uses this file perfectly. So since that seemed to be a problem, I temporarily changed my theme back to the windows Luna default theme. My program worked without a hickup.
My question is... Why won't it use my MSStyles file if windows will? and where might I go to ask this question to Java Guru's?
my source code is available if you'd like to see what I did
~Jake