Hi,
I have a question about look&feel settings.
I downloaded 12 free l&f from javootoo.com and I found that most of them didn't work well with jfileupload.
I tried (one per one) with:
# Look And Feel (classname or auto to select platform L&F)
#lookandfeel=auto
lookandfeel=net.beeger.squareness.SquarenessLookAndFeel
lookandfeel=com.shfarr.ui.plaf.fh.FhLookAndFeel
lookandfeel=net.infonode.gui.laf.InfoNodeLookAndFeel
lookandfeel=com.jgoodies.looks.looks.plastic.PlasticXPLookAndFeel
lookandfeel=com.birosoft.liquid.LiquidLookAndFeel
lookandfeel=net.sourceforge.napkinlaf.NapkinLookAndFeel
lookandfeel=NimRODLookAndFeel
lookandfeel=org.fife.plaf.Office2003.Office2003LookAndFeel
lookandfeel=org.fife.plaf.OfficeXP.OfficeXPLookAndFeel
lookandfeel=org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel
lookandfeel=com.pagosoft.plaf.PgsLookAndFeel
lookandfeel=ch.randelshofer.quaqua.QuaquaLookAndFeel
lookandfeel=org.jdesktop.layout.SwingLayoutStyle
lookandfeel=de.muntjak.tinylookandfeel.TinyLookAndFeel
When I set each one, sometimes I didn't see changes and seemed to be Metal and sometimes I saw changes but the button to select files didn´t work when I clicked on it and didn't open the filechooser.
Classnames are right because I opened each .jar and checked each .java.
Can you help me?
Thanks!
Problem with look&feelRe: Problem with look&feelI've made a test with Napkin LAF, see screenshot below:
To make it works fine you need to:1 - Append ,lib/napkinlaf.jar into all ARCHIVE parameters in the JavaScript. 2 - Declare look and feel in i18n.properties (you did it fine): lookandfeel=net.sourceforge.napkinlaf.NapkinLookAndFeel 3 - Digitally sign the napkinlaf.jar. You can do it by modified the ANT script file we've provided. 4 - Close all browser windows before testing to make sure the applet is unloaded. I think your problems come from item 3. If you don't sign napkinlaf.jar then the file chooser won't work because Napkin LAF tries to access a System property. Then you can see the following error in the Java console: AccessControlException: access denied (java.util.PropertyPermission net.sourceforge.napkinlaf.theme read) Does it help ? Re: Problem with look&feelThanks! I signed the look and feel .jar and the file chooser worked fine.
|