Hi Neil,
> I'm in the middle of coding a Java plugin, and I think it would be
> cool to have a B&W (or black and green would be cooler ;) console that
> I can print my results to and then read in the user text. Would there
> be anyway to hijack cmd promt or something similar?
There is nothing exactly like that in ImageJ. However, there are a couple
of things:
1) A Console window that displays stdout and stderr output.
2) A Script Interpreter which accepts commands to execute in the active
script language.
You could maybe utilize one of those? If you simply code up a Java API for
your functionality, you can then use it from the Script Interpreter. Then
you won't have to invent your own console or anything like that.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect -
http://loci.wisc.edu/softwareImageJ2 lead, Fiji maintainer -
http://imagej.net/User:RuedenDid you know ImageJ has a forum?
http://forum.imagej.net/On Wed, Mar 2, 2016 at 10:46 AM, nellypledge <
[hidden email]> wrote:
> Hi all,
> I'm in the middle of coding a Java plugin, and I think it would be cool to
> have a B&W (or black and green would be cooler ;) console that I can print
> my results to and then read in the user text. Would there be anyway to
> hijack cmd promt or something similar?
>
> Just curious as I'd love to have the user/keyboard control for this plugin.
> I know I could just create a window and use buttons and a text input etc,
> but wondered if anybody has seen anything along those lines.
>
> Thanks
> Neil
>
>
>
> --
> View this message in context:
>
http://imagej.1557.x6.nabble.com/Console-Style-Window-tp5015772.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html