View RSS Feed

Recent Blogs Posts

  1. Creating and Showing Frames

    by , 04-26-2012 at 09:50 PM
    Extremely plain window’s picture is given below that is made by the demonstration application FrameDemo. Source code could be found in FrameDemo could be run (downloading JDK6, or later.)

    How to setup a frame has been shown in the given code of FrameDemo.

    Java Code:
    //1. Create the frame.
    JFrame frame = new JFrame("FrameDemo");
    //2. Optional: What happens when the frame closes?