code: private void origImagePanelComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_origImagePanelComponentResized
          origImagePanel.repaint();
  		polygonImagePanel.repaint();
      }
docs: GEN-LAST:event_openButtonActionPerformed