This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Icons for menu items Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Icons for menu items " Watch "Icons for menu items " New topic

Icons for menu items

karthik tvn

Joined: Feb 15, 2008
Posts: 13
I have set icons for menu items using setIcon() method in swing. It is working fine in Windows vista. But in Windows XP, the menu items icons are not aligned properly. But it is working fine if look and feel is java's look and feel than windows look and feel. How to solve this problem?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Rob Spoor

Joined: Oct 27, 2005
Posts: 19656

In other words, Be Forthright When Cross Posting To Other Sites.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Icons for menu items
Similar Threads
Java Result: 1073807364- Printed as Output when setting internal frame visible
SystemLookAndFeel still using Win2000 properties under WinXP???
Menu items disabling
Weird black border around icons in JFileChooser
displaying parent and child images from database based on roleid