20 package net.sf.gridarta.gui.dialog.plugin;
22 import java.awt.Component;
23 import java.awt.Window;
24 import javax.swing.JDialog;
25 import javax.swing.JOptionPane;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
50 public JDialog
createDialog(@NotNull
final Component parentComponent, @NotNull
final String title) {
52 throw new IllegalStateException(
"dialog already has been created");
55 final JDialog tmp = super.createDialog(parentComponent, title);
61 public void setValue(@Nullable
final Object newValue) {
62 super.setValue(newValue);
63 if (
dialog !=
null && newValue != UNINITIALIZED_VALUE) {