JPanel and Graphics zoom.
I have a print preview on one of my panels and it is basically a JPanel with the paintComponent method overridden. It basically draws a print preview. I would like to be able to zoom in and out. Almost as if there is a camera looking at a 2d plane. The reason for this is for different resolution, I dont want to have to explain the layout for different resolutions. If it was more like a camera view of a predefined grid it would be better.
What types of keywords, classes, and methods should i look up and study?