Prevent pixel calibration from running for multi-component cameras.

It won't work anyway; it tries to cast a byte[] to an int[]. At least we fail
a bit more gracefully now.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14523 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Add a function to get the largest possible window size.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14524 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Rework the pack() override in DisplayWindow.

This fixes a bug causing the DisplayWindow to be gigantic when showing large
images (e.g.2kx2k), and also simplifies the logic somewhat. We do still have
a bug lurking around that causes the canvas to show its "zoom indicator" when
the zoom level is 33% or 16% because the canvas is 2px too small to fit.
However, the current behavior is a definite step up from the old behavior.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14525 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14526 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Avoid erroneously showing the zoom indicator at 16% and 33% zoom levels.

This does cause the border to sometimes be drawn a bit "wider" than it should
be (with a gap between it and the canvas), but it's rare and subtle when it
does happen, so I'm not too concerned.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14527 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
ASIdiSPIM: add ImageJ button to DataAnalysis panel, not finished so will revert soon

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14528 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
ASIdiSPIM: revert r14528

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14529 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Fix (?) bug causing DisplayWindow to not resize when zooming in.

Specifically, on my display when going from 100% to 150% zoom, the window
wouldn't grow to compensate (but it would grow in all other circumstances).
Now it instead refuses to *shrink* when going from 150% to 100%, which at least
does not leave any parts of the image hidden. I can't promise there aren't
bugs lurking elsewhere though.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14530 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd