setLocationRelativeTo(getOwner());
setModal(true);
}
private void init() {
ImageViewPanel imagePanel = new ImageViewPanel(image);
imagePanel.addMouseListener(this);
imagePanel.addMouseMotionListener(this);
setTitle(DIALOG_TITLE);
color = new Color(255, 103, 139); // Evil pink
colorPanel = new JPanel();