Examples of HistoryTextField


Examples of net.bnubot.bot.gui.components.HistoryTextField

    //frame.setJMenuBar(menuBar);

    // Main text area
    mainTextArea = new TextWindow();
    // Send chat textbox
    chatTextArea = new HistoryTextField();
    chatTextArea.setMaximumSize(new Dimension(Integer.MAX_VALUE, textHeight));
    // Enable tab character
    chatTextArea.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, EMPTY_SET);
    chatTextArea.setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, EMPTY_SET);
    chatTextArea.addKeyListener(new KeyListener() {
View Full Code Here

Examples of org.jamesii.gui.utils.history.HistoryTextField

   */
  public HistoryTextFieldTest() {
    super();

    tf1 = new JTextField("", 40);
    htf = new HistoryTextField("historyTest", true, 10, History.LATEST);

    JButton button = new JButton("OK");
    button.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent event) {
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.