My problems is as follow. I have a JFrame that displays a picture, furthermore I have a zoom button, which calls the zoomIn method, inside the method I have instantiate a class ComboDialog which display a JFrame(200x90) in size over the already displayed JFrame containing the picture (parent frame). ComboDialog class creates a JComboBox containing numbers(50, 100, 150, 200...)representing zooming values in percent.
My question is, when I select a value or enter a value how do I make the picture in the parent Frame larger by the value selected. Any suggestions are welcome.
Thank you