User:RJismail/common.js

// Hello.java (Java SE 5) import javax.swing.*;

public class Hello extends JFrame { public Hello { super("hello"); super.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); super.add(new JLabel("Hello, world!")); super.pack; super.setVisible(true); }

public static void main(final String[] args) { new Hello; } RJismail (talk) 06:52, 20 January 2017 (UTC)