File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Icons for menu items " Watch "Icons for menu items " New topic
Author

Icons for menu items

karthik tvn
Greenhorn

Joined: Feb 15, 2008
Posts: 13
Hi,
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

http://forums.sun.com/thread.jspa?threadID=5403880&tstart=0
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19719
    
  20

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Icons for menu items