Package net.bnubot.vercheck

Examples of net.bnubot.vercheck.VersionNumber


  public void initializeGUI() {
    setLayout(new FlowLayout(FlowLayout.CENTER));

    Box b = new Box(BoxLayout.Y_AXIS);
    {
      VersionNumber vn = CurrentVersion.version();
      b.add(new JLabel("BNU-Bot " + vn.toString()));
      b.add(new JLabel("Built " + vn.getBuildDate()));
      b.add(new JLabel("Created by BNU-Camel"));
      b.add(Box.createVerticalStrut(15));
      b.add(new JLabel("This project is distributed under the"));
      b.add(new JLabel("GNU Public License, Version 2"));
      b.add(Box.createVerticalStrut(15));
View Full Code Here


      recieveInfo(text);
    else {
      String prefix;
      if(cs.whisperBack || forceWhisper) {
        prefix = "/w " + to.getFullLogonName() + " [BNU";
        VersionNumber cv = CurrentVersion.version();
        if(cv.isAlpha())
          prefix += " alpha";
        else if(cv.isBeta())
          prefix += " beta";
        else if(cv.isReleaseCandidate())
          prefix += " RC";
        prefix += "] ";
      } else
        prefix = to.getShortPrettyName() + ": ";
     
View Full Code Here

TOP

Related Classes of net.bnubot.vercheck.VersionNumber

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.