Login  Register

TextField in Fiji

Posted by AJBell on Oct 09, 2013; 8:52am
URL: http://imagej.273.s1.nabble.com/TextField-in-Fiji-tp5005091.html

Hi all

I've started using Fiji recently for plugin development and ran into a problem when updating a plugin that works fine in ImageJ.

The bit which seems to be the problem are a couple of TextFields in a plugin frame. They can be constructed, but the error appears why I try to add them to a panel or the frame directly, i.e.

TextField tf = new TextField();
add(tf);

or

TextField tf = new TextField();
panel.add(tf);

Both of which fail, but only in Fiji, not ImageJ. Has anyone come across this before and know of a solution?

Andrew