Examples of Tray


Examples of com.fiveht.tick.ui.tray.Tray

           
            frame = new Frame();
           
            if (SystemTray.isSupported()) {
                try {
                    SystemTray.getSystemTray().add(new Tray(frame));
                }
                catch (AWTException ex) {
                    hasSystemTray = false;
                }
            }
View Full Code Here

Examples of nl.nuggit.words.board.Tray

    Board board = BoardFactory.createStandardBoard();
    setupBoard(board, language);
    System.out.println(board);

    Tray tray = new Tray("morlend", 7, language);

    bag.remove(board.getTiles());
    bag.remove(tray.getTiles());
    System.out.println(bag);

    Player player = new Player("adriaan", board, tray, language);
    player.suggestWords();
  }
View Full Code Here

Examples of nl.nuggit.words.board.Tray

    String letters = "ehoiopqvwwwy";
    int wordlength = 3;

    Language language = Language.drawsome();
    Board board = new Board(wordlength);
    Tray tray1 = new Tray(letters, 12, language);
    Player player1 = new Player("p1", board, tray1, language);
    List<Word> words = player1.suggestWords();
    for (Word word : words) {
      if (word.size() == wordlength) {
        System.out.println(word);
View Full Code Here

Examples of nl.nuggit.words.board.Tray

    }
    return bestCounterScore;
  }

  public void addPlayer(String name, boolean cpuControlled) {
    Tray tray = new Tray(TRAY_SIZE);
    bag.fillTray(tray);
    players.add(new Player(name, board, tray, language, cpuControlled));
  }
View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

    IWorkbenchWindow primaryWindow = OwlUI.getPrimaryWindow();
    if (primaryWindow == null || !primaryWindow.equals(getWindowConfigurer().getWindow()))
      return;

    final Shell shell = primaryWindow.getShell();
    final Tray tray = shell.getDisplay().getSystemTray();

    /* Tray not support on the OS */
    if (tray == null)
      return;

View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

    IWorkbenchWindow primaryWindow = OwlUI.getPrimaryWindow();
    if (primaryWindow == null || !primaryWindow.equals(getWindowConfigurer().getWindow()))
      return false;

    final Shell shell = primaryWindow.getShell();
    final Tray tray = shell.getDisplay().getSystemTray();

    /* Tray not support on the OS */
    if (tray == null)
      return false;

View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

    if (primaryWindow == null || !primaryWindow.equals(getWindowConfigurer().getWindow()))
      return false;

    final Shell shell = primaryWindow.getShell();
    final int doubleClickTime = shell.getDisplay().getDoubleClickTime();
    final Tray tray = shell.getDisplay().getSystemTray();

    /* Tray not support on the OS */
    if (tray == null)
      return false;

View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

        // button
        Button execute = new Button(shell, SWT.PUSH);
        //execute.setToolTipText("Run the command on the left (or press enter).");
        execute.setText("Parse Command");

        Tray tray = display.getSystemTray();
        if(tray != null) {
            itray = new TrayItem(tray, SWT.NONE);
            itray.setToolTipText("No");
            itray.setImage(smlcon);
        }
View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

  /**
   * @return The single instance of the system tray
   */
  protected Tray systemTray() {
    Tray tray = syncExec(SWTUtils.display(), new WidgetResult<Tray>() {
      public Tray run() {
        return SWTUtils.display().getSystemTray();
      }
    });
    if (tray == null) {
View Full Code Here

Examples of org.eclipse.swt.widgets.Tray

  /**
   * @return The single instance of the system tray
   */
  protected Tray systemTray() {
    Tray tray = syncExec(SWTUtils.display(), new WidgetResult<Tray>() {
      public Tray run() {
        return SWTUtils.display().getSystemTray();
      }
    });
    if (tray == null) {
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.