File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TinyLaf in Applet?

 
Jonathan Smiths
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jonathan Smiths
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic