public static void main( String[] args ) {
		IJThemesManager themesManager = new IJThemesManager();
		themesManager.loadBundledThemes();

		String toPath = "../flatlaf-intellij-themes/src/main/java" + IJThemesPanel.THEMES_PACKAGE + "..";

		StringBuilder allInfos = new StringBuilder();
		StringBuilder markdownTable = new StringBuilder();
		markdownTable.append( "Name | Class\n" );
		markdownTable.append( "-----|------\n" );

		for( IJThemeInfo ti : themesManager.bundledThemes ) {
			if( ti.sourceCodeUrl == null )
				continue;

			generateClass( ti, toPath, allInfos, markdownTable );
		}

		Path out = new File( toPath, "FlatAllIJThemes.java" ).toPath();
		String allThemes = (CLASS_HEADER + ALL_THEMES_TEMPLATE)
			.replace( "${subPackage}", "" )
			.replace( "${allInfos}", allInfos );
		writeFile( out, allThemes );

		System.out.println( markdownTable );
	}
This tool creates look and feel classes for all themes listed in themes.json.

@author Karl Tauber
flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesClassGenerator.java