Venice 0.7beta

org.mov.ui
Class ConfirmDialog

java.lang.Object
  extended by org.mov.ui.ConfirmDialog
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ConfirmDialog
extends java.lang.Object
implements java.awt.event.ActionListener

Replacement dialog for Java's JOptionPane InternalConfirmDialog


Constructor Summary
ConfirmDialog(javax.swing.JComponent parent, java.lang.String message, java.lang.String title)
          Create new confirm dialog.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          ActionListener interface used for internal buttons.
 boolean showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmDialog

public ConfirmDialog(javax.swing.JComponent parent,
                     java.lang.String message,
                     java.lang.String title)
Create new confirm dialog.

Parameters:
parent - The parent component to tie the dialog to
message - The question to ask the user
title - The title to place on the dialog
Method Detail

showDialog

public boolean showDialog()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener interface used for internal buttons.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

Venice 0.7beta