int x = (int) (me.getX() * editor.getScale()); int y = (int) (me.getY() * editor.getScale());
int x = (int) (me.getX() * currentEditor.getScale()); int y = (int) (me.getY() * currentEditor.getScale());
    public void mouseClicked(MouseEvent me) {        Editor editor = Globals.curEditor();        if (me.isMetaDown()) {            // Right mouse button.            _zoomOutCmd.doIt();        } else if (!me.isAltDown()) {            // Left mouse button.            _zoomInCmd.doIt();        }        int x = (int) (me.getX() * editor.getScale());        int y = (int) (me.getY() * editor.getScale());        final Rectangle r = new Rectangle(x, y, 1, 1);        r                .grow((int) (100 * editor.getScale()), (int) (100 * editor                        .getScale()));        editor.getJComponent().scrollRectToVisible(new Rectangle(0, 0, 1, 1));        SwingUtilities.invokeLater(new Runnable() {            public void run() {                Editor editor = Globals.curEditor();                JComponent c = editor.getJComponent();                c.scrollRectToVisible(r);            }        });        me.consume();    }