First of all I am realy new to java. I have a very simple piece of script:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JavaApplicationSchool extends JFrame {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "Hello World");
JOptionPane.showMessageDialog(null, "Goodbye");
System.exit(0);
}
}
When trying to run this code with netbeans 7.1. (JDK installed), my IDE returns errors on the Import parts at the top of the code.
These errors has to do with finding the awt packages. Can someone tell me where these packeges needs to be located and where I can find them?
Via this screenshot you can see how my directory structure looks like at the moment
Thank you in advance