protected void createOrderConfirmation() {
try {
final OrderConfirmation orderConfirmation = new OrderConfirmation();
String userNumber = getNextUserNumber(OrderConfirmation.class);
orderConfirmation.setDataFromTransaction(getOffer(), userNumber);
JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("Offer.msgToOrderConfirmation"), JbsL10N.getString("Offer.messageBoxTitle"), JbsOptionPane.INFORMATION_MESSAGE);
dialog.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
FmOrderConfirmationEdit fmOrderConfirmationEdit = new FmOrderConfirmationEdit();
fmOrderConfirmationEdit.showForm(DlgState.dsCopy, orderConfirmation);
addAction(PnTransactionEdit.ACTION_TOORDERCONFIRMATION);