Class CompareBox


  • public class CompareBox
    extends Window
    This class is used to show two images, side by side, and show the first difference between them.
    • Constructor Detail

      • CompareBox

        public CompareBox​(java.lang.String title,
                          int[] rgbs,
                          int me,
                          int ot,
                          int i,
                          int j,
                          int n,
                          byte[] originalBytes,
                          ImageTester testImg)
    • Method Detail

      • postPopup

        protected void postPopup()
        Description copied from class: Window
        Placeholder called after the popup is done and after the repaint of this window. The default implementation does nothing.
        Overrides:
        postPopup in class Window
      • onEvent

        public void onEvent​(Event e)
        Description copied from class: Control
        Called to process key, pen, control and other posted events.
        Overrides:
        onEvent in class Control
        Parameters:
        e - the event to process
        See Also:
        Event, KeyEvent, PenEvent