I am trying to implement the Synth look and feel and it is not doing anything to the look of the actual software. My file path is correct as I have checked that. Does anybody know why this is not working:
Java:
try {
SynthLookAndFeel laf = new SynthLookAndFeel();
laf.load(new FileInputStream("src/look_and_feel.xml"), Truss.class);
UIManager.setLookAndFeel(laf);
} catch (Exception e) {
e.printStackTrace();
}
XML:
<synth>
<style id="default">
<font name="Courier" size="14" />
</style>
<bind style="default" type="region" key="Button" />
</synth>
Thanks in advance.