http://imagej.273.s1.nabble.com/Need-to-close-the-result-table-from-my-java-application-tp3687988p3687999.html
Many thanks.
> I'm sorry that was bad advice. I've just had a quick look at the source
> code
> for results tables. It's actually very simple- this plugin makes invisible
> the results window on my system:
>
> import ij.WindowManager;
> import ij.plugin.PlugIn;
> import java.awt.*;
>
> public class TestPlugin_ implements PlugIn {
>
> public void run(String arg) {
>
> Frame[] arrayOfFrames = WindowManager.getNonImageWindows();
> for (int i = 0 ; i < arrayOfFrames.length ; ++i) {
> String localName = arrayOfFrames[i].getTitle();
> if ( localName.equalsIgnoreCase("Results")){
> arrayOfFrames[i].setVisible(false);
> }
> }
> }
> }
>
> BW
> --
> View this message in context:
>
http://n2.nabble.com/Need-to-close-the-result-table-from-my-java-application-tp4713378p4745635.html> Sent from the ImageJ mailing list archive at Nabble.com.
>