try this


package javaapplication61;

import javax.swing.*;
import java.awt.event.*;

public class ShowDialogBox {
JFrame frame;