Here you can find the source of setSwingProperties(String appName)
public static void setSwingProperties(String appName)
//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"); } }