{
cancelPanel();
}
catch(JixException ex)
{
ErrorDetailsDialog errorDetailsDialog = new ErrorDetailsDialog(ex);
errorDetailsDialog.openDialog();
errorDetailsDialog.dispose();
}
}
});
prevButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
try
{
prevPanel();
}
catch(JixException ex)
{
ErrorDetailsDialog errorDetailsDialog = new ErrorDetailsDialog(ex);
errorDetailsDialog.openDialog();
errorDetailsDialog.dispose();
}
}
});
nextButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
try
{
nextPanel();
}
catch(JixException ex)
{
ErrorDetailsDialog errorDetailsDialog = new ErrorDetailsDialog(ex);
errorDetailsDialog.openDialog();
errorDetailsDialog.dispose();
}
}
});
setDefaultCloseOperation(JAdvancedDialog.DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e)
{
try
{
cancelPanel();
}
catch(JixException ex)
{
ErrorDetailsDialog errorDetailsDialog = new ErrorDetailsDialog(ex);
errorDetailsDialog.openDialog();
errorDetailsDialog.dispose();
}
}
});
JPanel bottomPanel = new JPanel(new GridLayout(1, 4));