Examples of displayMessage()


Examples of ae.java.awt.peer.TrayIconPeer.displayMessage()

            throw new NullPointerException("displaying the message with both caption and text being null");
        }

        TrayIconPeer peer = this.peer;
        if (peer != null) {
            peer.displayMessage(caption, text, messageType.name());
        }
    }

    /**
     * Returns the size, in pixels, of the space that the tray icon
View Full Code Here

Examples of com.bbn.openmap.InformationDelegator.displayMessage()

                MapHandler mapHandler = (MapHandler) getBeanContext();
                if (mapHandler != null) {
                    InformationDelegator id = (InformationDelegator) mapHandler.get("com.bbn.openmap.InformationDelegator");
                    if (id != null) {

                        id.displayMessage(i18n.get(OMDrawingToolLauncher.class,
                                "problem",
                                "Problem"),
                                i18n.get(OMDrawingToolLauncher.class,
                                        "problemCreatingGraphic",
                                        "Problem creating new graphic:\n")
View Full Code Here

Examples of com.sandwich.koan.ui.SuitePresenter.displayMessage()

    if(isEmpty() || !containsKey(ArgumentType.RUN_KOANS) && (
        containsKey(ArgumentType.CLASS_ARG) ||
        containsKey(ArgumentType.DEBUG))){
      if(ApplicationSettings.isDebug()){
        SuitePresenter presenter = ApplicationUtils.getPresenter();
        presenter.displayMessage("Planting default run target.");
        for(Entry<ArgumentType, CommandLineArgument> argEntry : entrySet()){
          presenter.displayMessage("Key: '"+argEntry.getKey()+"'");
          presenter.displayMessage("Value: '"+argEntry.getValue()+"'");
        }
      }
View Full Code Here

Examples of com.sandwich.koan.ui.SuitePresenter.displayMessage()

        containsKey(ArgumentType.DEBUG))){
      if(ApplicationSettings.isDebug()){
        SuitePresenter presenter = ApplicationUtils.getPresenter();
        presenter.displayMessage("Planting default run target.");
        for(Entry<ArgumentType, CommandLineArgument> argEntry : entrySet()){
          presenter.displayMessage("Key: '"+argEntry.getKey()+"'");
          presenter.displayMessage("Value: '"+argEntry.getValue()+"'");
        }
      }
      put(ArgumentType.RUN_KOANS, new CommandLineArgument(ArgumentType.RUN_KOANS, true, new String[0]));
    }
View Full Code Here

Examples of com.sandwich.koan.ui.SuitePresenter.displayMessage()

      if(ApplicationSettings.isDebug()){
        SuitePresenter presenter = ApplicationUtils.getPresenter();
        presenter.displayMessage("Planting default run target.");
        for(Entry<ArgumentType, CommandLineArgument> argEntry : entrySet()){
          presenter.displayMessage("Key: '"+argEntry.getKey()+"'");
          presenter.displayMessage("Value: '"+argEntry.getValue()+"'");
        }
      }
      put(ArgumentType.RUN_KOANS, new CommandLineArgument(ArgumentType.RUN_KOANS, true, new String[0]));
    }
  }
View Full Code Here

Examples of com.sandwich.koan.ui.SuitePresenter.displayMessage()

    } catch (IOException e) {
      e.printStackTrace();
      presenter.displayError(getErrorMessage());
      System.exit(-1);
    }
    presenter.displayMessage(getSuccessMessage());
  }

  protected abstract void copy(String backupSrcDirectory, String appSrcDirectory) throws IOException; 
 
}
View Full Code Here

Examples of java.awt.TrayIcon.displayMessage()

      public void windowIconified(WindowEvent e) {

        try {
          tray.add(trayIcon);
          frm.setVisible(false);
          trayIcon.displayMessage("Dot Project", "You can access Dot Project by double clicking this icon", TrayIcon.MessageType.INFO);
        } catch (AWTException ex) {
          System.err.println("TrayIcon could not be added.");
        }
      }
    });
View Full Code Here

Examples of java.awt.TrayIcon.displayMessage()

        Out.exception(e);
      }
    } else {
      TrayIcon tray = GuiDesktop.getTray();
      if(tray != null)
        tray.displayMessage(headline, text, TrayIcon.MessageType.INFO);
    }
  }

  @Override
  public void channelJoin(Connection source, BNetUser user) {
View Full Code Here

Examples of java.awt.TrayIcon.displayMessage()

      addWindowListener(new WindowAdapter() {
        private boolean first = true;
        public void windowClosing(WindowEvent e) {
          MainWindow.this.setVisible(false);
          if (first) {
            icon.displayMessage(
                "JDCP Worker",
                "JDCP Worker is still running.  To exit, right click this icon and click 'exit'.",
                MessageType.INFO);
            first = false;
          }
View Full Code Here

Examples of java.awt.peer.TrayIconPeer.displayMessage()

            throw new NullPointerException("displaying the message with both caption and text being null");
        }

        TrayIconPeer peer = this.peer;
        if (peer != null) {
            peer.displayMessage(caption, text, messageType.toString());
        }
    }

    /**
     * Returns the size, in pixels, of the space that the tray icon
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.