Image Window Size

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Image Window Size

Juanjo Vega
Hello everybody,

When I open an image in ImageJ, if I try to resize the window by
dragging it's borders, I can make it bigger until it reaches a limit. I
have tested it using different images and that limit is different for
each one. I guess it must depend on the image size.

I detected it while developing a plugin which adds a side panel to an
ImageWindow, so I try to call "pack()" or "setSize(setPreferredSize())"
to ensure that the entire image and the panel on the side are shown
properly, but it doesn't works.

Does anybody know why is this happening, how to fix it or maybe has some
other idea?

Sincerelly,

Juanjo Vega.