Turn on JTattoo

This commit is contained in:
2019-07-22 23:24:07 +01:00
parent bcf7875414
commit 9464839b4d

View File

@@ -300,21 +300,19 @@ public class AudiobookRecorder extends JFrame {
try { try {
// String clsname = "com.jtattoo.plaf.hifi.HiFiLookAndFeel"; String clsname = "com.jtattoo.plaf.hifi.HiFiLookAndFeel";
// UIManager.setLookAndFeel(clsname); UIManager.setLookAndFeel(clsname);
// Properties p = new Properties();
// p.put("windowDecoration", "off");
// p.put("logoString", "Audiobook");
// p.put("textAntiAliasing", "on");
// Class<?> cls = Class.forName(clsname);
// Class[] cArg = new Class[1];
// cArg[0] = Properties.class;
// Method mth = cls.getMethod("setCurrentTheme", cArg);
// mth.invoke(cls, p);
Properties p = new Properties();
p.put("windowDecoration", "off");
p.put("logoString", "Audiobook");
p.put("textAntiAliasing", "on");
Class<?> cls = Class.forName(clsname);
Class[] cArg = new Class[1];
cArg[0] = Properties.class;
Method mth = cls.getMethod("setCurrentTheme", cArg);
mth.invoke(cls, p);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();