Zoom-panel in java-appliction

I have an application where the user add graphics to the screen by positioned by pixel. This works fine, except for one small thing. Sometimes the user want to zoom the view to see the details a little better. Since the application works very well I'm not eager to change too much so I'd prefer if I could place my panel I a zoom-component of some kind. Do you have a tip about how to do this and preferbly if there are an existing component to use?
 
Top