heres a simple soulution inset this in between the first brackets, an serror will apear double click the light bulb and click the second option

code:
Code:
public class te {
	public static class JavaCraft {
		public static void main (String[] args) {
		JFrame frame= new JFrame("JavaCraft Alpha 0.01");
		frame.setVisible(true);
		frame.setSize(600,600);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		}
	}

Last edited by shabbir; 2Feb2012 at 08:29.. Reason: Code blocks