@Override
		public void actionPerformed(ActionEvent e) {
			
			double percentDelta = (double) _windowMoveDelta / (double) (getWidth() * _zoomX);
			switch(_dir) {
				case UP:
					if(_refY - percentDelta >= 0) {
						_refY -= percentDelta;
//						repaint();
					}
					break;
				case DOWN:
					if(_refY + 1.0 / _zoomY + percentDelta <= 1) {
						_refY += percentDelta;
//						repaint();
					}
					break;
				case LEFT: 
					if(_refX - percentDelta >= 0) {
						_refX -= percentDelta;
//						repaint();
					}
					break;
				case RIGHT:
					if(_refX + 1.0 / _zoomX + percentDelta <= 1 ) {
						_refX += percentDelta;
//						repaint();
					}
					break;
			}
		}