// Path: src/main/net/sf/portecle/FPortecle.java
// public static final ResourceBundle RB = ResourceBundle.getBundle(RB_BASENAME);


import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.KeyStroke;
import static net.sf.portecle.FPortecle.RB;
import java.awt.Dialog;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
		};

		JButton jbOK = new JButton(RB.getString("PortecleJDialog.jbOk.text"));

		jbOK.addActionListener(okAction);

		if (escPresses)
		{
			jbOK.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
			    ESC_KEY);
			jbOK.getActionMap().put(ESC_KEY, okAction);
		}

		return jbOK;
	}

	/**
	 * Get cancel button.
	 */
	protected JButton getCancelButton()
	{
		Action cancelAction = new AbstractAction()
		{
			@Override
			public void actionPerformed(ActionEvent evt)
			{
				cancelPressed();
			}
		};

// Path: src/main/net/sf/portecle/FPortecle.java
// public static final ResourceBundle RB = ResourceBundle.getBundle(RB_BASENAME);


// Path: src/main/net/sf/portecle/PortecleJDialog.java
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.KeyStroke;
import static net.sf.portecle.FPortecle.RB;
import java.awt.Dialog;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

		};

		JButton jbOK = new JButton(RB.getString("PortecleJDialog.jbOk.text"));

		jbOK.addActionListener(okAction);

		if (escPresses)
		{
			jbOK.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
			    ESC_KEY);
			jbOK.getActionMap().put(ESC_KEY, okAction);
		}

		return jbOK;
	}

	/**
	 * Get cancel button.
	 */
	protected JButton getCancelButton()
	{
		Action cancelAction = new AbstractAction()
		{
			@Override
			public void actionPerformed(ActionEvent evt)
			{
				cancelPressed();
			}
		};

		JButton jbCancel = new JButton(RB.getString("PortecleJDialog.jbCancel.text"));