exitonclose swing

Solutions on MaxInterview for exitonclose swing by the best coders in the world

showing results for - "exitonclose swing"
Ira
11 Jan 2017
1public static void main(String[] args){
2  JFrame window=new JFrame();
3  JLabel pane=new JLabel();
4  pane.setText(D80TableGenerator.getHtml(getExample()));
5  window.add(pane);
6  window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
7  window.pack();
8  window.setVisible(true);
9}
10 
similar questions
queries leading to this page
exitonclose swing