trackeditor: switch back to newer version of looks

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8249 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0124a9db475448e25591447aa8d8a777da556250
Former-commit-id: cb0902a32f4ddfa7cee088c61d575c94b805874c
This commit is contained in:
iobyte 2022-06-23 14:25:36 +00:00
parent 7f50970927
commit 1a4007b035
4 changed files with 18 additions and 1 deletions

View file

@ -119,7 +119,9 @@ IF(Java_Development_FOUND AND Java_FOUND)
)
SET(JAVA_JARS bsh-2.0b4.jar
jdom-1.1.3.jar )
jdom-1.1.3.jar
jgoodies-looks-2.5.3.jar
jgoodies-common-1.6.0.jar )
# ========= Debug
#message(STATUS "JAVA_JARS = ${JAVA_JARS}")
@ -170,6 +172,8 @@ IF(Java_Development_FOUND AND Java_FOUND)
# https://github.com/beanshell/beanshell/releases
# http://www.jdom.org/dist/binary/archive/jdom-1.1.3.zip
# http://www.java2s.com/Code/JarDownload/jgoodies/jgoodies-common-1.6.0.jar.zip
# http://www.java2s.com/Code/JarDownload/jgoodies/jgoodies-looks-2.5.3.jar.zip
ELSE(Java_Development_FOUND AND Java_FOUND)
MESSAGE(WARNING "Java_FOUND = ${Java_FOUND}")

Binary file not shown.

Binary file not shown.

View file

@ -20,6 +20,12 @@
*/
package utils;
import javax.swing.UIManager;
import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
import com.jgoodies.looks.plastic.PlasticLookAndFeel;
import com.jgoodies.looks.plastic.theme.DesertBlue;
import gui.EditorFrame;
@ -35,6 +41,13 @@ public class TrackEditor
public static void main(String[] args)
{
PlasticLookAndFeel.setCurrentTheme(new DesertBlue());
try
{
UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
} catch (Exception e)
{
}
System.out.println("Java version : "+System.getProperty("java.version"));
System.out.println("OS : "+System.getProperty("os.name"));
System.out.println("OS architecture : "+System.getProperty("os.arch"));