Skip to main content

Skinning WTK on Linux

Posted by tbrandalik on February 15, 2007 at 3:00 AM PST

I'm working on Linux release for some time and I feel I need to have a fun little bit. I've googled for a look & feels which would work on linux and found a page http://www.javootoo.com/ with custom L&Fs and tried to plug some of them into wtk toolbar. Some are free, some commercial, some work only on windows ...

Start with jdk linux native look and feel. jdk 6 native L&F shows improvements comparing to jdk 5. But notice separators in the JToolBar, they aren't vertical.

jdk 5
jdk5.png

jdk 6
jdk6-1.png

Alternative look and feels
To plug-in L&F just edit ktoolbar script. Put L&F jar on classpath and set property -Dkvem.lookandfeel. An example for synthetica L&F:

-Dkvem.lookandfeel="de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel"

Napkin
napkinlaf.png

Synthetica Green and Dream
greendream-1.png

Tonic slim
toniclf_slim.png

Tiny YQForest
tinylaf-yqforest-1.png

L2FProd skins
You can try L2FProd skins if you edit ktoolbar starting script to look like this:

java -Dkvem.home="${KVEM_HOME} \
    -Djava.library.path="${KVEM_HOME}/bin \
-cp $KVEM_LIB}/lf/skinlf.jar:${KVEM_LIB}/kenv.zip:${KVEM_LIB}/ktools.zip:${KVEM_BIN}/JadTool.jar:${KVEM_BIN}/MEKeyTool.jar:${KVEM_LIB}/customjmf.jar:${KVEM_API}/j2me-ws.jar:${KVEM_BIN}/schema2beansdev.jar:${KVEM_BIN}/j2me_sg_ri.jar:${KVEM_BIN}/jaxrpc-impl.jar:${KVEM_BIN}/jaxrpc-api.jar:${KVEM_BIN}/jaxrpc-spi.jar:${KVEM_BIN}/activation.jar:${KVEM_BIN}/mail.jar:${KVEM_BIN}/saaj-api.jar:${KVEM_BIN}/saaj-impl.jar:${KVEM_BIN}/xsdlib.jar \
Skinit -pack ${KVEM_LIB}/lf/themepack.zip com.sun.kvem.toolbar.Main "$@"

Evenif this is a linux script I believe you can edit also win32 ktoolbar.bat script acordingly. You just need skinlf.jar on the classpath and download apropriate themepack.zip. Here are some of them:

L2FProd cell shaded
l2fp-cellshaded.png

L2FProd Graphite
l2fp-graphite.png

L2FProd OpusOSDeep
l2fp-opusosdeep.png

L2FProd AAToxic
l2fp-toxic.png

Related Topics >>