java - How to resize image to maximize their dimensions into a panel without changing aspect ratio -


i want draw images panel, need images conserves aspect ratio biggest dimensions drawn on panel. given panel dimensions must create java code maximize dimensions. ideas had needed solve linear programming, , don´t know how in java. wich should easiest way need?

you can use darryl's stretch icon. dynamically resize icon fill space available label.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -