renamed Flat*Laf.install() methods to Flat*Laf.setup() to avoid confusion with UIManager.installLookAndFeel(LookAndFeelInfo info); the old Flat*Laf.install() methods are still there, but marked as deprecated

This commit is contained in:
Karl Tauber
2021-04-22 14:19:26 +02:00
parent 1c52f1f76c
commit d97146393c
78 changed files with 742 additions and 153 deletions

View File

@@ -39,6 +39,7 @@ tasks {
this as StandardJavadocDocletOptions
use( true )
tags = listOf( "uiDefault", "clientProperty" )
addStringOption( "Xdoclint:all,-missing", "-Xdoclint:all,-missing" )
}
isFailOnError = false
}

View File

@@ -31,14 +31,22 @@ public class FlatArcDarkIJTheme
{
public static final String NAME = "Arc Dark";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcDarkIJTheme() );
return setup( new FlatArcDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatArcDarkOrangeIJTheme
{
public static final String NAME = "Arc Dark - Orange";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcDarkOrangeIJTheme() );
return setup( new FlatArcDarkOrangeIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkOrangeIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatArcIJTheme
{
public static final String NAME = "Arc";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcIJTheme() );
return setup( new FlatArcIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatArcOrangeIJTheme
{
public static final String NAME = "Arc - Orange";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcOrangeIJTheme() );
return setup( new FlatArcOrangeIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcOrangeIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatCarbonIJTheme
{
public static final String NAME = "Carbon";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatCarbonIJTheme() );
return setup( new FlatCarbonIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCarbonIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatCobalt2IJTheme
{
public static final String NAME = "Cobalt 2";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatCobalt2IJTheme() );
return setup( new FlatCobalt2IJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCobalt2IJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatCyanLightIJTheme
{
public static final String NAME = "Cyan light";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatCyanLightIJTheme() );
return setup( new FlatCyanLightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCyanLightIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatDarkFlatIJTheme
{
public static final String NAME = "Dark Flat";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatDarkFlatIJTheme() );
return setup( new FlatDarkFlatIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkFlatIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatDarkPurpleIJTheme
{
public static final String NAME = "Dark purple";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatDarkPurpleIJTheme() );
return setup( new FlatDarkPurpleIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkPurpleIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatDraculaIJTheme
{
public static final String NAME = "Dracula";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatDraculaIJTheme() );
return setup( new FlatDraculaIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGradiantoDarkFuchsiaIJTheme
{
public static final String NAME = "Gradianto Dark Fuchsia";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGradiantoDarkFuchsiaIJTheme() );
return setup( new FlatGradiantoDarkFuchsiaIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDarkFuchsiaIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGradiantoDeepOceanIJTheme
{
public static final String NAME = "Gradianto Deep Ocean";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGradiantoDeepOceanIJTheme() );
return setup( new FlatGradiantoDeepOceanIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDeepOceanIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGradiantoMidnightBlueIJTheme
{
public static final String NAME = "Gradianto Midnight Blue";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGradiantoMidnightBlueIJTheme() );
return setup( new FlatGradiantoMidnightBlueIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoMidnightBlueIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGradiantoNatureGreenIJTheme
{
public static final String NAME = "Gradianto Nature Green";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGradiantoNatureGreenIJTheme() );
return setup( new FlatGradiantoNatureGreenIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoNatureGreenIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGrayIJTheme
{
public static final String NAME = "Gray";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGrayIJTheme() );
return setup( new FlatGrayIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGrayIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGruvboxDarkHardIJTheme
{
public static final String NAME = "Gruvbox Dark Hard";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGruvboxDarkHardIJTheme() );
return setup( new FlatGruvboxDarkHardIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkHardIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGruvboxDarkMediumIJTheme
{
public static final String NAME = "Gruvbox Dark Medium";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGruvboxDarkMediumIJTheme() );
return setup( new FlatGruvboxDarkMediumIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkMediumIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGruvboxDarkSoftIJTheme
{
public static final String NAME = "Gruvbox Dark Soft";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGruvboxDarkSoftIJTheme() );
return setup( new FlatGruvboxDarkSoftIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkSoftIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatHiberbeeDarkIJTheme
{
public static final String NAME = "Hiberbee Dark";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatHiberbeeDarkIJTheme() );
return setup( new FlatHiberbeeDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatHiberbeeDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatHighContrastIJTheme
{
public static final String NAME = "High contrast";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatHighContrastIJTheme() );
return setup( new FlatHighContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatHighContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatLightFlatIJTheme
{
public static final String NAME = "Light Flat";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatLightFlatIJTheme() );
return setup( new FlatLightFlatIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightFlatIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialDesignDarkIJTheme
{
public static final String NAME = "Material Design Dark";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialDesignDarkIJTheme() );
return setup( new FlatMaterialDesignDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDesignDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMonocaiIJTheme
{
public static final String NAME = "Monocai";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMonocaiIJTheme() );
return setup( new FlatMonocaiIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonocaiIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatNordIJTheme
{
public static final String NAME = "Nord";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatNordIJTheme() );
return setup( new FlatNordIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNordIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatOneDarkIJTheme
{
public static final String NAME = "One Dark";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatOneDarkIJTheme() );
return setup( new FlatOneDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatOneDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedDarkIJTheme
{
public static final String NAME = "Solarized Dark";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedDarkIJTheme() );
return setup( new FlatSolarizedDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedLightIJTheme
{
public static final String NAME = "Solarized Light";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedLightIJTheme() );
return setup( new FlatSolarizedLightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSpacegrayIJTheme
{
public static final String NAME = "Spacegray";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSpacegrayIJTheme() );
return setup( new FlatSpacegrayIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSpacegrayIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatVuesionIJTheme
{
public static final String NAME = "Vuesion";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatVuesionIJTheme() );
return setup( new FlatVuesionIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatVuesionIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatArcDarkContrastIJTheme
{
public static final String NAME = "Arc Dark Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcDarkContrastIJTheme() );
return setup( new FlatArcDarkContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatArcDarkIJTheme
{
public static final String NAME = "Arc Dark (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatArcDarkIJTheme() );
return setup( new FlatArcDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatAtomOneDarkContrastIJTheme
{
public static final String NAME = "Atom One Dark Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatAtomOneDarkContrastIJTheme() );
return setup( new FlatAtomOneDarkContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatAtomOneDarkIJTheme
{
public static final String NAME = "Atom One Dark (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatAtomOneDarkIJTheme() );
return setup( new FlatAtomOneDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatAtomOneLightContrastIJTheme
{
public static final String NAME = "Atom One Light Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatAtomOneLightContrastIJTheme() );
return setup( new FlatAtomOneLightContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatAtomOneLightIJTheme
{
public static final String NAME = "Atom One Light (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatAtomOneLightIJTheme() );
return setup( new FlatAtomOneLightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatDraculaContrastIJTheme
{
public static final String NAME = "Dracula Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatDraculaContrastIJTheme() );
return setup( new FlatDraculaContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatDraculaIJTheme
{
public static final String NAME = "Dracula (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatDraculaIJTheme() );
return setup( new FlatDraculaIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGitHubContrastIJTheme
{
public static final String NAME = "GitHub Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGitHubContrastIJTheme() );
return setup( new FlatGitHubContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGitHubDarkContrastIJTheme
{
public static final String NAME = "GitHub Dark Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGitHubDarkContrastIJTheme() );
return setup( new FlatGitHubDarkContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubDarkContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGitHubDarkIJTheme
{
public static final String NAME = "GitHub Dark (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGitHubDarkIJTheme() );
return setup( new FlatGitHubDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatGitHubIJTheme
{
public static final String NAME = "GitHub (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatGitHubIJTheme() );
return setup( new FlatGitHubIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatLightOwlContrastIJTheme
{
public static final String NAME = "Light Owl Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatLightOwlContrastIJTheme() );
return setup( new FlatLightOwlContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatLightOwlIJTheme
{
public static final String NAME = "Light Owl (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatLightOwlIJTheme() );
return setup( new FlatLightOwlIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialDarkerContrastIJTheme
{
public static final String NAME = "Material Darker Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialDarkerContrastIJTheme() );
return setup( new FlatMaterialDarkerContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialDarkerIJTheme
{
public static final String NAME = "Material Darker (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialDarkerIJTheme() );
return setup( new FlatMaterialDarkerIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialDeepOceanContrastIJTheme
{
public static final String NAME = "Material Deep Ocean Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialDeepOceanContrastIJTheme() );
return setup( new FlatMaterialDeepOceanContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialDeepOceanIJTheme
{
public static final String NAME = "Material Deep Ocean (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialDeepOceanIJTheme() );
return setup( new FlatMaterialDeepOceanIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialLighterContrastIJTheme
{
public static final String NAME = "Material Lighter Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialLighterContrastIJTheme() );
return setup( new FlatMaterialLighterContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialLighterIJTheme
{
public static final String NAME = "Material Lighter (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialLighterIJTheme() );
return setup( new FlatMaterialLighterIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialOceanicContrastIJTheme
{
public static final String NAME = "Material Oceanic Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialOceanicContrastIJTheme() );
return setup( new FlatMaterialOceanicContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialOceanicIJTheme
{
public static final String NAME = "Material Oceanic (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialOceanicIJTheme() );
return setup( new FlatMaterialOceanicIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialPalenightContrastIJTheme
{
public static final String NAME = "Material Palenight Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialPalenightContrastIJTheme() );
return setup( new FlatMaterialPalenightContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMaterialPalenightIJTheme
{
public static final String NAME = "Material Palenight (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMaterialPalenightIJTheme() );
return setup( new FlatMaterialPalenightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMonokaiProContrastIJTheme
{
public static final String NAME = "Monokai Pro Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMonokaiProContrastIJTheme() );
return setup( new FlatMonokaiProContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMonokaiProIJTheme
{
public static final String NAME = "Monokai Pro (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMonokaiProIJTheme() );
return setup( new FlatMonokaiProIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMoonlightContrastIJTheme
{
public static final String NAME = "Moonlight Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMoonlightContrastIJTheme() );
return setup( new FlatMoonlightContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMoonlightContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatMoonlightIJTheme
{
public static final String NAME = "Moonlight (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatMoonlightIJTheme() );
return setup( new FlatMoonlightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMoonlightIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatNightOwlContrastIJTheme
{
public static final String NAME = "Night Owl Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatNightOwlContrastIJTheme() );
return setup( new FlatNightOwlContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatNightOwlIJTheme
{
public static final String NAME = "Night Owl (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatNightOwlIJTheme() );
return setup( new FlatNightOwlIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedDarkContrastIJTheme
{
public static final String NAME = "Solarized Dark Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedDarkContrastIJTheme() );
return setup( new FlatSolarizedDarkContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedDarkIJTheme
{
public static final String NAME = "Solarized Dark (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedDarkIJTheme() );
return setup( new FlatSolarizedDarkIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedLightContrastIJTheme
{
public static final String NAME = "Solarized Light Contrast (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedLightContrastIJTheme() );
return setup( new FlatSolarizedLightContrastIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightContrastIJTheme.class );
}

View File

@@ -31,14 +31,22 @@ public class FlatSolarizedLightIJTheme
{
public static final String NAME = "Solarized Light (Material)";
public static boolean install() {
public static boolean setup() {
try {
return install( new FlatSolarizedLightIJTheme() );
return setup( new FlatSolarizedLightIJTheme() );
} catch( RuntimeException ex ) {
return false;
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}