util: Access levels

This commit is contained in:
sdburns1998
2019-07-08 17:23:31 +02:00
parent 330d3d9cd5
commit 33a6824ca6
5 changed files with 13 additions and 13 deletions

View File

@@ -76,7 +76,7 @@ public class SwingUtil
* Sets some sensible defaults for swing.
* IMPORTANT! Needs to be called before main frame creation
*/
public static void setupDefaults()
private static void setupDefaults()
{
// Force heavy-weight popups/tooltips.
// Prevents them from being obscured by the game applet.
@@ -117,7 +117,7 @@ public class SwingUtil
*
* @param laf the swing look and feel
*/
public static void setTheme(@Nonnull final LookAndFeel laf)
private static void setTheme(@Nonnull final LookAndFeel laf)
{
try
{
@@ -135,7 +135,7 @@ public class SwingUtil
*
* @param font the new font to use
*/
public static void setFont(@Nonnull final Font font)
private static void setFont(@Nonnull final Font font)
{
final FontUIResource f = new FontUIResource(font);
final Enumeration keys = UIManager.getDefaults().keys();