public void zoomIn() {
   component.setScale(component.getScale() * 1.05);
 }
 public void zoomOut() {
   component.setScale(component.getScale() * .95);
 }
 public double getScale() {
   return component.getScale();
 }