Class MultiWindowLayoutHelper

java.lang.Object
net.preibisch.mvrecon.fiji.plugin.util.MultiWindowLayoutHelper

public class MultiWindowLayoutHelper extends Object
  • Constructor Details

    • MultiWindowLayoutHelper

      public MultiWindowLayoutHelper()
  • Method Details

    • moveToScreenFraction

      public static void moveToScreenFraction(Component component, double x, double y)
      move a component (such as a JFrame Window) to x and y, expressed as fractions of the screen width and height of the screen the component is on. The top-left corner of the component is moved to the desired location.
      Parameters:
      component - the component to move
      x - desired left position (fraction of screen width)
      y - desired top position (fraction of screen height)
    • getIJLogWindow

      public static Component getIJLogWindow()
      get the ImageJ log window (if present)
      Returns:
      the log window component or null if the log is not open;
    • main

      public static void main(String[] args)