Re: Advice for GUI plugin development
Posted by
dscho on
URL: http://imagej.273.s1.nabble.com/Advice-for-GUI-plugin-development-tp5001300p5001312.html
Hi Oliver,
On Thu, 3 Jan 2013, Oliver Tills wrote:
> Hi Johnanes,
almost ;-)
> Is it possible to anchor windows (Swing and AWT including StackWindows
> to particular positions on the screen (with some standardisation for use
> with different screen resolutions)?
You can place windows using the setLocation() method, and you can add
listeners for certain events. Unfortunately, there seems no good way to
track window movements, but I'd recommend against enforcing a given
arrangement in any case (it can be really annoying when software does
that). Better to do it automatically upon startup and maybe have a button
to re-arrange.
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html