Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

exitonclose swing

public static void main(String[] args){
  JFrame window=new JFrame();
  JLabel pane=new JLabel();
  pane.setText(D80TableGenerator.getHtml(getExample()));
  window.add(pane);
  window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  window.pack();
  window.setVisible(true);
}
 
Source by www.javased.com #
 
PREVIOUS NEXT
Tagged: #exitonclose #swing
ADD COMMENT
Topic
Name
7+9 =