Returns a reference to the "Results" window TextPanel. Opens the "Results" window if it is currently not open. Returns null if the "ImageJ" window is not open.
()
| 800 | Opens the "Results" window if it is currently not open. |
| 801 | Returns null if the "ImageJ" window is not open. */ |
| 802 | public static TextPanel getTextPanel() { |
| 803 | if (textPanel==null && ij!=null) |
| 804 | showResults(); |
| 805 | return textPanel; |
| 806 | } |
| 807 | |
| 808 | /** TextWindow calls this method with a null argument when the "Results" window is closed. */ |
| 809 | public static void setTextPanel(TextPanel tp) { |
no test coverage detected