mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 23:08:42 +03:00
Theme Editor: changed main class to com.formdev.flatlaf.themeeditor.FlatThemeEditor
This commit is contained in:
@@ -34,7 +34,7 @@ tasks {
|
|||||||
dependsOn( ":flatlaf-extras:jar" )
|
dependsOn( ":flatlaf-extras:jar" )
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes( "Main-Class" to "com.formdev.flatlaf.themeeditor.FlatThemeFileEditor" )
|
attributes( "Main-Class" to "com.formdev.flatlaf.themeeditor.FlatThemeEditor" )
|
||||||
|
|
||||||
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
||||||
attributes( "Multi-Release" to "true" )
|
attributes( "Multi-Release" to "true" )
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2021 FormDev Software GmbH
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.formdev.flatlaf.themeeditor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* FlatLaf Theme Editor
|
||||||
|
*
|
||||||
|
* @author Karl Tauber
|
||||||
|
*/
|
||||||
|
public class FlatThemeEditor
|
||||||
|
{
|
||||||
|
public static void main( String[] args ) {
|
||||||
|
FlatThemeFileEditor.main( args );
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -67,7 +67,7 @@ import com.formdev.flatlaf.util.UIScale;
|
|||||||
*
|
*
|
||||||
* @author Karl Tauber
|
* @author Karl Tauber
|
||||||
*/
|
*/
|
||||||
public class FlatThemeFileEditor
|
class FlatThemeFileEditor
|
||||||
extends JFrame
|
extends JFrame
|
||||||
{
|
{
|
||||||
static final String PREFS_ROOT_PATH = "/flatlaf-theme-editor";
|
static final String PREFS_ROOT_PATH = "/flatlaf-theme-editor";
|
||||||
@@ -87,7 +87,7 @@ public class FlatThemeFileEditor
|
|||||||
|
|
||||||
private final FlatThemePropertiesBaseManager propertiesBaseManager = new FlatThemePropertiesBaseManager();
|
private final FlatThemePropertiesBaseManager propertiesBaseManager = new FlatThemePropertiesBaseManager();
|
||||||
|
|
||||||
public static void main( String[] args ) {
|
static void main( String[] args ) {
|
||||||
File dir = (args.length > 0)
|
File dir = (args.length > 0)
|
||||||
? new File( args[0] )
|
? new File( args[0] )
|
||||||
: null;
|
: null;
|
||||||
|
|||||||
Reference in New Issue
Block a user