@Override public void mouseEntered(final MouseEvent e) { if (!tracerPlugin.isReady()) return; if (tracerPlugin.autoCanvasActivation) { imp.getWindow().toFront(); requestFocusInWindow(); } }
/** * Method mouse entered, applied to set the main window. * * @param e mouse event */ public void mouseEntered (final MouseEvent e) { WindowManager.setCurrentWindow(mainImp.getWindow()); mainImp.getWindow().toFront(); updateAndDraw(); } /* end mouseEntered */
public void mouseEntered(final MouseEvent e) { try { if (mtrackj.settings().activateimage) { mtrackj.window().toFront(); mtrackj.canvas().requestFocusInWindow(); } cursor(); oncanvas = true; snapctrl = e.isControlDown(); if (Toolbar.getToolId() != Toolbar.HAND && spacedown) spacedown = false; redraw(); // In case snapping is on } catch (Throwable x) { mtrackj.catcher().uncaughtException(Thread.currentThread(),x); } }
win.toFront(); x += XOFFSET; y += YOFFSET;
ImageWindow win = imp.getWindow(); if (win!=null) { win.toFront(); WindowManager.setWindow(win);
win.toFront(); x += XOFFSET; y += YOFFSET;
xzWin.setLocation(xyX,xyY+xyWin.getHeight()); if (firstTime) { imp.getWindow().toFront(); if (!sliceSet && imp.getSlice()==1) { if (hyperstack)
ImageWindow win = imp.getWindow(); if (win!=null) { win.toFront(); WindowManager.setWindow(win);
xzWin.setLocation(xyX,xyY+xyWin.getHeight()); if (firstTime) { imp.getWindow().toFront(); if (!sliceSet && imp.getSlice()==1) { if (hyperstack)
win.toFront(); final Point loc = win.getLocation(); final ImageCanvas ic = win.getCanvas();
win.toFront(); IJ.wait(500); Point loc = win.getLocation();
win.toFront(); IJ.wait(500); Point loc = win.getLocation();
while (win.getSize().width*0.85>=tileWidth && canvas.getMagnification()>0.03125) canvas.zoomOut(0, 0); win.toFront(); ImagePlus imp = win.getImagePlus(); if (imp!=null) imp.setIJMenuBar(i==nPics-1);
while (win.getSize().width*0.85>=tileWidth && canvas.getMagnification()>0.03125) canvas.zoomOut(0, 0); win.toFront(); ImagePlus imp = win.getImagePlus(); if (imp!=null) imp.setIJMenuBar(i==nPics-1);
} else { ImageWindow win = instance.imp!=null?instance.imp.getWindow():null; if (win!=null) win.toFront(); return;
} else { ImageWindow win = instance.imp!=null?instance.imp.getWindow():null; if (win!=null) win.toFront(); return;
if (pointswindow != null && pointswindow.isShowing()) pointswindow.toFront(); mtrackj.dialog().toFront(); mtrackj.window().toFront(); mtrackj.canvas().requestFocusInWindow(); mtrackj.logok();