How to bring a window to the front
Posted by
Aryeh Weiss on
URL: http://imagej.273.s1.nabble.com/How-to-bring-a-window-to-the-front-tp5022281.html
I am trying to bring a window to the front, using
inputWin = WindowManager.getWindow(inputImp.getTitle())
print inputImp.getTitle() # verifies that this is the window I want
WindowManager.setWindow(inputWin)
WindowManager.setCurrentWindow(inputWin)
WindowManager.repaintImageWindows()
print WindowManager.getActiveWindow() # verifies that the correct
title is in fact printed
The image does not get put in front, even though the last line confirms
that it is the active image.
Where have I gone wrong?
tnx in advance
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html