Examples of OperatingSystem


Examples of org.rioproject.system.capability.platform.OperatingSystem

             * Load default platform (qualitative) capabilities
             */
            ProcessorArchitecture processor = new ProcessorArchitecture();
            platforms.add(processor);

            PlatformCapability operatingSystem = new OperatingSystem();
            platforms.add(operatingSystem);

            PlatformCapability tcpIP = new TCPConnectivity();
            platforms.add(tcpIP);

View Full Code Here

Examples of org.spoutcraft.launcher.util.OperatingSystem

    temp = new File(Utils.getWorkingDirectory(), "config/minecraft.yml");
    temp.delete();
  }

  private static void setLookAndFeel() {
    OperatingSystem os = OperatingSystem.getOS();
    if (os.isMac()) {
      System.setProperty("apple.laf.useScreenMenuBar", "true");
      System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Spoutcraft");
    }
    try {
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
View Full Code Here

Examples of org.terasology.launcher.util.OperatingSystem

     */
    @Override
    protected LauncherConfiguration call() {
        try {
            // get OS info
            final OperatingSystem os = getOperatingSystem();

            // init directories
            updateMessage(BundleUtils.getLabel("splash_initLauncherDirs"));
            final File launcherDirectory = getLauncherDirectory(os);
            final File downloadDirectory = getDownloadDirectory(launcherDirectory);
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.