Java Swing UIManager setSwingProperties(String appName)

Here you can find the source of setSwingProperties(String appName)

Description

set Swing Properties

License

Open Source License

Declaration

public static void setSwingProperties(String appName) 

Method Source Code

//package com.java2s;
/*/*from w w w  . j a v a2s  .co  m*/
 * SK's Minecraft Launcher
 * Copyright (C) 2010-2014 Albert Pham <http://www.sk89q.com> and contributors
 * Please see LICENSE.txt for license information.
 */

import javax.swing.*;

public class Main {
    public static void setSwingProperties(String appName) {
        UIManager.getDefaults().put("SplitPane.border",
                BorderFactory.createEmptyBorder());
        System.setProperty(
                "com.apple.mrj.application.apple.menu.about.name", appName);
        System.setProperty("apple.laf.useScreenMenuBar", "true");
    }
}

Related

  1. setDefaultSize(int size)
  2. setEnabled(Component component, boolean enabled, boolean recursively)
  3. setNative()
  4. SetNetBeansCompatibleUIManager()
  5. setNimbusLF()
  6. setSystemUi()
  7. setTheme()
  8. setupComponent(JComponent comp)
  9. setupUI()