This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes adding images to components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "adding images to components" Watch "adding images to components" New topic
Author

adding images to components

zack chancery
Ranch Hand

Joined: Aug 19, 2004
Posts: 33
Hi all,
i need to add an image to a panel but it is important it does not stretch or shrink to fit the panel as i will require the exact dimensions of the image to apply some image processing features to my GUI. How do I add the image as is?
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
zack chancery
Ranch Hand

Joined: Aug 19, 2004
Posts: 33
thanks craig!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: adding images to components
 
It's not a secret anymore!