Daniel Cassiani d35f7d01f7 BAEL-388 (#1360)
* initial push

* module Java Web Start (jws) add

* pom improvements and fixes
2017-03-19 12:44:00 +01:00

16 lines
386 B
Java

package com.example;
import javax.swing.*;
public class Hello {
public static void main(String[] args) {
JFrame f = new JFrame("main");
f.setSize(200, 100);
f.setLocationRelativeTo(null);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JLabel label = new JLabel("Hello, world!");
f.add(label);
f.setVisible(true);
}
}