Swing (Java): Difference between revisions

Content deleted Content added
m Fixing usages of Javadoc:SE
Exoad (talk | contribs)
fix the incoherent descriptive nature of the hello world example code snippet
Line 102:
public class Hello extends JFrame {
public Hello() {
super("helloHello World");
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
this.add(new JLabel("Hello, world!"));
this.pack();
this.setVisible(true);
}
 
public static void main(final String[] args) {
SwingUtilities.invokeLater(Hello::new);
}