Skip to main content

image scaling on window resize

1 reply [Last post]
chopficaro
Offline
Joined: 2010-05-01

can i make an image scale to fit the window with BorderLayout.CENTER?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
walterln
Offline
Joined: 2007-04-17

Sure, take a look at the code for [url=http://tips4java.wordpress.com/2008/10/12/background-panel/]Background Panel[/url] or use it directly.