| 629 | } |
| 630 | |
| 631 | public static void showList() { |
| 632 | for (int i=0; i<imageList.size(); i++) { |
| 633 | ImageWindow win = (ImageWindow)imageList.get(i); |
| 634 | ImagePlus imp = win.getImagePlus(); |
| 635 | IJ.log(i + " " + imp.getTitle() + (win==currentWindow?"*":"")+" "+imp.getID()); |
| 636 | } |
| 637 | for (int i=0; i<activations.size(); i++) { |
| 638 | ImageWindow win = (ImageWindow)activations.get(i); |
| 639 | ImagePlus imp = win.getImagePlus(); |
| 640 | IJ.log(i + " " + imp.getTitle() + " " + imp.getID()); |
| 641 | } |
| 642 | if (imageList.size()==0) IJ.log("imageList is empty"); |
| 643 | if (activations.size()==0) IJ.log("activations list is empty"); |
| 644 | IJ.log(" "); |
| 645 | } |
| 646 | |
| 647 | public static void toFront(Frame frame) { |
| 648 | if (frame==null) return; |