I would really like to use a theme I created in TinyLaf in my applet.
I created the applet which sets the look and feel to "de.muntjak.tinylookandfeel.TinyLookAndFeel".
When I run the applet in eclipse, everything is fine, the theme is just normally loaded.
When I try to run the applet in firefox, the system default theme is used.
I tried to include a .jar of TinyLaf, I tried uploading the complete workspace of the applet, nothing helps.
I can not get a java-console working in firefox, to view any output or exceptions. Add-ons with a java-console are not supported anymore.
There is very little information/tutorials about TinyLaf on the internet. Could anyone please help me with setting up a TinyLaf theme in an applet?
I haven't tried using a 3rd party LAF in an applet, but I see no reason why it shouldn't work. What does your applet tag look like? How are you setting up the LAF in your code? (The latter question is important since you cannot pass the LAF to the applet JVM via command line system properties).
What do you mean by "I can not get a java-console working in firefox"? Which OS are you on? In general, the Java Plugin has a console in Firefox as it does elsewhere; nothing changed in that regard.
posted 10 years ago
I was trying to install an add-on in firefox for the java-console functionality. I will try to find an integrated console.
I have included "tinylaf.jar" in the buildpath, that's the only configuration I did.
In my php/html file I included the following code:
In my Applet I included:
I uploaded the jar in the directory of the applet and tried the following code:
And err... it works right now
Thanks for the help
Trust God, but always tether your camel... to this tiny ad.
Devious Experiments for a Truly Passive Greenhouse!