List of usage examples for javax.swing JDialog subclass-usage
From source file Main.java
public class Main extends JDialog { public Main() { setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); addWindowListener(new WindowAdapter() { @Override
From source file EscapeDialog.java
public class EscapeDialog extends JDialog { public EscapeDialog() { this((Frame) null, false); } public EscapeDialog(Frame owner) {
From source file Main.java
public class Main extends JDialog implements ActionListener { private javax.swing.JButton testButton; public Main() { setPreferredSize(new Dimension(640, 480)); getContentPane().setLayout(new BorderLayout());
From source file Main.java
public class Main extends JDialog { public Main() { this.setLayout(new GridLayout(0, 1)); this.add(new JLabel("Dialog close test.", JLabel.CENTER)); this.add(new JButton(new AbstractAction("Close") {
From source file SimpleAboutDialog.java
public class SimpleAboutDialog extends JDialog { public SimpleAboutDialog(JFrame parent) { super(parent, "About Dialog", true); Box b = Box.createVerticalBox(); b.add(Box.createGlue());
From source file ToggleButton.java
public class ToggleButton extends JDialog implements ActionListener { private JToggleButton red = new JToggleButton("red"); private JToggleButton green = new JToggleButton("green");
From source file Main.java
public class Main extends JDialog { public Main() { this.setLayout(new GridLayout(0, 1)); this.add(new JLabel("Dialog event test.", JLabel.CENTER)); this.add(new JButton(new AbstractAction("Close") {
From source file SecurePrompt.java
/**
* Example from Chapter 3
*
* Simple object to prompt for user id/password.
*
* @author Jeff Heaton
From source file EscapeDialog.java
class EscapeDialog extends JDialog { public EscapeDialog() { super((Frame) null, false); } protected JRootPane createRootPane() {
From source file de.mpicbg.knime.hcs.core.view.OverlayLegendDialog.java
/** * @author Holger Brandl */ public class OverlayLegendDialog extends JDialog implements HeatMapModelChangeListener { private HeatMapModel heatMapModel;