code.dreamsense.com

Create a JDialog

  import javax.swing.JDialog;

  public class Frame {
    public static void main(String[] args) {
      JDialog frame = new JDialog();
      frame.setSize)400,400);
      frame.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE;
      frame.setVisible(true);
    }
  }

Kyle Eggleston
kyle@dreamsense.com
Copyright © 2003 - 2020