public void paint(java.awt.Graphics g_) {
Graphics2D g = (Graphics2D) g_;
g.setColor(Color.LIGHT_GRAY);
g.fillRect(0, 0, getWidth(), getHeight());
Utilities.drawCheckerPattern(g.create(0, 0, getViewWidth(), getViewHeight()),checkerSize);
g.drawImage(image,0,0, image.getWidth()*zoom, image.getHeight()*zoom,0,0,image.getWidth(),image.getHeight(),null);
for(Object selected: editorFrame.animationManager.getSelectedObjects()) {
if(selected instanceof Animation) {
Animation animation = (Animation) selected;
for(Frame frame: animation.getFrames()) {