Look and feel of the Image Uploader Java applet.




<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("LookAndFeel", "");
//...other params...

Get/Set Value in Runtime


value = getImageUploader("ImageUploaderID").getLookAndFeel();

Property Value

A string value which specifies a class name for the look and feel. If the empty string (or any incorrect value) is specified, the default look and feel of the client system is used (i.e. Windows-style look and feel for Windows machines, Mac-style - for Mac machines, etc).

Some look and feels are presented in the table below. You can use any other look and feel classes (including custom ones) if you are sure that they are installed on client machines.

Class nameDescription
javax.swing.plaf.metal.MetalLookAndFeel Standard swing-style appearance.
com.sun.java.swing.plaf.windows.WindowsLookAndFeel Windows-like appearance.
com.sun.java.swing.plaf.mac.MacLookAndFeel Mac appearance.
com.sun.java.swing.plaf.motif.MotifLookAndFeel Motif appearance (look and feel used on some Unix systems).
com.sun.java.swing.plaf.gtk.GTKLookAndFeel GTK appearance (Linux-style).

Default value is "".