Java: A sample window (Frame) using AWT