Alright here we go.
import javax.swing.*; import java.awt.*; import java.awt.event.*; public class helloWorld extends JFrame { helloWorld(String title) { this.setSize(500,500); setTitle(title); } public static void main(String[] args) { helloWorld window = new helloWorld("Hello CodeCall"); window.setVisible(true); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } }Basically this opens a 500x500 window titled "Hello CodeCall"
Please remember I did this without my compiler(yes, I know this is simple, but also consider I havent done a GUI in a matter of weeks, if not months)
Edited by Khaotic, 13 July 2010 - 11:55 AM.