Window Closing - Online Code


This code shows how to close your frame window.

Source Code

import java.awt.event.WindowAdapter;

import java.awt.event.WindowEvent;

import javax.swing.JFrame;

public class FrameClose {

  public static void main(String[] args) {

    JFrame mainFrame = new JFrame();

... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.

Related Online Codes:


    No comment yet. Be the first to post a comment.