huśtawka exitonclose

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);
}
 
Encouraging Emu