Package net.bnubot.bot.gui.components

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


    final String[] changeLog = getText().split("\n\n");

    // Split up the change log by version
    for(String entry : changeLog) {
      String[] data = entry.split("\n", 2);
      JTextComponent jta = new ColoredTextArea();
      jta.setText(data[1]);
      jta.setEditable(false);
      cards.add(data[0], new JScrollPane(jta));
      model.addElement(data[0]);
    }

    JComboBox<String> cb = new JComboBox<String>(model);
View Full Code Here

TOP

Related Classes of net.bnubot.bot.gui.components.ColoredTextArea

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.