281282283284285286287288289290291292293294
dialog.setImage(null); } } private void openImage() { PictureDialog dlg = new PictureDialog(picture); if (dlg.isPictureChanged()) { picture = dlg.getImage(); initialize(); changed = true; repaint(); revalidate(); }