Package com.ribomation.droidAtScreen

Examples of com.ribomation.droidAtScreen.Info


  }

  @Override
  protected void doExecute(Application app) {
    ImageIcon image = GuiUtil.loadPicture("jens-riboe");
    Info info = app.getInfo();
    String aboutText = loadResource("/about.html");
    String linkText = loadResource("/about-links.html");
    String systemText = String.format(loadResource("/about-system.html"), System.getProperty("os.name"), System.getProperty("os.arch"), System.getProperty("java.vm.name"), System.getProperty("java.runtime.version"));

    JPanel content = new JPanel(new BorderLayout(5, 0));
    content.add(new JLabel(image), BorderLayout.WEST);
    content.add(new JLabel("<html>" + aboutText), BorderLayout.CENTER);
    content.add(new JLabel("<html>" + linkText + systemText), BorderLayout.SOUTH);

    JOptionPane.showMessageDialog(null, content, info.getName() + " - Version " + info.getVersion(), JOptionPane.PLAIN_MESSAGE);
  }
View Full Code Here

TOP

Related Classes of com.ribomation.droidAtScreen.Info

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.