|How to scale an image in WindowBuilder? [message #1022199]
||Thu, 21 March 2013 09:26
| Beau Buckley
Registered: March 2013
Hey guys, I've started learning Java in Eclipse, and I couldn't find any forum answers or documentation about rescaling an image in Window Builder. It's quite daunting seeing as I'm new to programming, so I may have overlooked something. |
I've put an image on the frame, but I want to scale the image 'image_1.png' to 200%.
JLabel lblNewLabel = new JLabel("");
lblNewLabel.setBounds(10, 7, 122, 22);
Is this also how I correctly should add an image to my window builder (Using a label?).
Powered by FUDForum
. Page generated in 0.01599 seconds