mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-23 03:59:51 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@15337 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
8c44cadf2b
commit
f59b92c399
@ -4,7 +4,7 @@
|
||||
<property name="dep.browser" value="../JDBrowser" />
|
||||
<property name="dep.updateclient" value="../UpdateClient" />
|
||||
<property name="dep.update" value="../JDUpdater" />
|
||||
<property name="debug" value="false" />
|
||||
<property name="debug" value="true" />
|
||||
|
||||
|
||||
|
||||
@ -228,9 +228,12 @@
|
||||
<include name="org/appwork/controlling/**/*" />
|
||||
<include name="org/appwork/utils/logging/**/*" />
|
||||
<include name="org/appwork/storage/**/*" />
|
||||
<include name="org/appwork/exceptions/WTFException.class" />
|
||||
<include name="org/appwork/utils/images/**/*" />
|
||||
<include name="org/appwork/utils/swing/windowflasher/**/*" />
|
||||
|
||||
<include name="org/appwork/scheduler/**/*" />
|
||||
<include name="org/appwork/resources/**/*" />
|
||||
<include name="org/appwork/app/**/*" />
|
||||
<include name="org/appwork/shutdown/**/*" />
|
||||
<include name="org/appwork/utils/net/**/*" />
|
||||
<include name="org/appwork/utils/parser/ShellParser.class" />
|
||||
@ -246,8 +249,12 @@
|
||||
<include name="org/appwork/utils/swing/dialog/**/*" />
|
||||
<include name="org/appwork/utils/swing/*.class" />
|
||||
<include name="org/appwork/utils/ImageProvider/**/*" />
|
||||
|
||||
|
||||
</fileset>
|
||||
|
||||
<fileset dir="themes">
|
||||
<include name="themes/standard/org/jdownloader/images/dialog/**/*" />
|
||||
</fileset>
|
||||
<fileset dir="${dep.updateclient}/src">
|
||||
<include name="**/*.png" />
|
||||
<include name="**/*.lng" />
|
||||
|
@ -15,6 +15,11 @@ public class JDSubstanceFontPolicy implements FontPolicy {
|
||||
this.fontSet = new JDSubstanceFontSet(this.defaultFontSet, fontName, fontSize);
|
||||
}
|
||||
|
||||
public static void invoke(String name, int size) {
|
||||
final jd.gui.swing.laf.JDSubstanceFontPolicy fp = new jd.gui.swing.laf.JDSubstanceFontPolicy(org.pushingpixels.substance.api.SubstanceLookAndFeel.getFontPolicy().getFontSet("substance", null), name, size);
|
||||
org.pushingpixels.substance.api.SubstanceLookAndFeel.setFontPolicy(fp);
|
||||
}
|
||||
|
||||
public FontSet getFontSet(final String arg0, final UIDefaults arg1) {
|
||||
return this.fontSet;
|
||||
}
|
||||
|
@ -289,8 +289,8 @@ public class LookAndFeelController {
|
||||
|
||||
private void doSubstance(String fontName, int fontSize) {
|
||||
try {
|
||||
final JDSubstanceFontPolicy fp = new JDSubstanceFontPolicy(org.pushingpixels.substance.api.SubstanceLookAndFeel.getFontPolicy().getFontSet("substance", null), fontName, fontSize);
|
||||
org.pushingpixels.substance.api.SubstanceLookAndFeel.setFontPolicy(fp);
|
||||
Class.forName("jd.gui.swing.laf.JDSubstanceFontPolicy").getMethod("invoke", new Class[] { String.class, int.class }).invoke(null, fontName, fontSize);
|
||||
|
||||
} catch (Throwable e) {
|
||||
Log.exception(e);
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user