Package me.aurous.swinghacks

Examples of me.aurous.swinghacks.GhostText


      @Override
      public void mouseClicked(final MouseEvent e) {

      }
    });
    new GhostText("https://www.youtube.com/watch?v=TU3b1qyEGsE", urlField);
    urlField.setHorizontalAlignment(SwingConstants.CENTER);
    final JPanel panel = new JPanel(new GridLayout(0, 1));

    panel.add(new JLabel("Paste media url"));
    panel.add(urlField);
View Full Code Here


  /**
   * popup panel to create a playlist
   */
  public static String importPlayListPrompt() {
    final JTextField urlField = new JTextField();
    final GhostText gText = new GhostText("Enter service url", urlField);

    urlField.addMouseListener(new ContextMenuMouseListener());
    urlField.addMouseListener(new MouseAdapter() {
      @Override
      public void mouseClicked(final MouseEvent e) {

      }
    });
    urlField.setHorizontalAlignment(SwingConstants.CENTER);
    gText.setHorizontalAlignment(SwingConstants.CENTER);

    final JPanel panel = new JPanel(new GridLayout(0, 1));

    panel.add(new JLabel("Enter a PlayList URL"));
    panel.add(urlField);
View Full Code Here

    builderWidget.getContentPane().add(buildListButton);

    builderWidget.pack();

    builderWidget.setVisible(true);
    final GhostText ghostText = new GhostText("FMA OST",
        playListNameTextField);
    ghostText.setHorizontalAlignment(SwingConstants.CENTER);
    ghostText.setHorizontalTextPosition(SwingConstants.CENTER);
    builderWidget.setLocationRelativeTo(UISession.getPresenter()
        .getAurousFrame());
  }
View Full Code Here

        .getBorder("TextField.border"));
    this.playListNameField.setHorizontalAlignment(SwingConstants.CENTER);
    this.playListNameField.setFont(new Font("Segoe UI", Font.PLAIN, 23));
    this.playListNameField.setBounds(0, 180, 373, 37);
    importerWidget.getContentPane().add(this.playListNameField);
    final GhostText ghostText = new GhostText("FMA OST",
        this.playListNameField);
    ghostText.setHorizontalAlignment(SwingConstants.CENTER);
    ghostText.setHorizontalTextPosition(SwingConstants.CENTER);
    this.playListNameField.setColumns(10);

    lblEnterAPlaylist = new JLabel("Enter a Playlist Name");
    lblEnterAPlaylist.setHorizontalAlignment(SwingConstants.CENTER);
    lblEnterAPlaylist.setForeground(Color.WHITE);
View Full Code Here

      YouTubeDiscoUtils.buildTopPlayList();
    });
    top100Button.setForeground(Color.BLACK);
    top100Button.setBounds(307, 174, 100, 26);
    discoWidget.getContentPane().add(top100Button);
    final GhostText ghostText = new GhostText("Ghost B.C.", queryField);
    ghostText.setHorizontalAlignment(SwingConstants.CENTER);
    discoWidget.setLocationRelativeTo(UISession.getPresenter()
        .getAurousFrame());
  }
View Full Code Here

TOP

Related Classes of me.aurous.swinghacks.GhostText

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.