Java Swing - Synchronized Pan & Zoom