private void formMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseDragged
        double x = evt.getX() * ((double)800/(double)windowSize().width);
        double y = evt.getY() * ((double)600/(double)windowSize().height);
        boolean match = false;
        for (Menu menu : menus) {
            match = menu.drag((int)x, (int)y);
            if (match) { repaint(); break; }
        }
        if (!match) {
            world.moveFocus((int)x, (int)y);            
            if (evt.getModifiersEx() == MouseEvent.BUTTON1_DOWN_MASK) world.handleClick((int)x, (int)y, 1);
            else if (evt.getModifiersEx() == MouseEvent.BUTTON3_DOWN_MASK) world.handleClick((int)x, (int)y, 3);
        }
    }//GEN-LAST:event_formMouseDragged