Package hermes.browser.dialog.replay

Examples of hermes.browser.dialog.replay.ReplayMessagesDialog


    if (selectionPath != null) {
      try {
        if (selectionPath.getLastPathComponent() instanceof MessageStoreTreeNode) {
          final MessageStoreTreeNode node = (MessageStoreTreeNode) selectionPath.getLastPathComponent();
          ReplayMessagesDialog dialog = new ReplayMessagesDialog(node.getMessageStore(), lastHermesId, lastDestination);

          dialog.setLocationRelativeTo(HermesBrowser.getBrowser());
          dialog.setModal(true);
          dialog.setVisible(true);

          lastHermesId = dialog.getHermesId();
          lastDestination = dialog.getDestination();
        }
      } catch (Exception ex) {
        log.error(ex.getMessage(), ex);

        JOptionPane.showMessageDialog(HermesBrowser.getBrowser(), "During replay: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
View Full Code Here

TOP

Related Classes of hermes.browser.dialog.replay.ReplayMessagesDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.