[ajuda] - l&f

0 respostas
B

Pessoal Boa Tarde!!!

Sou bem iniciante em java e estou com uma duvida e um erro para modificar o L&F da aplicação

Tentei seguir esses passos mais meu ingles e pessimo e com o google translate tbm fiz o que achei que tava certo

http://www.randelshofer.ch/quaqua/guide/index.html

Integration Into an Application

To integrate the Quaqua Look and Feel in an application, you need to do the following:

Include the file quaqua.jar in the class path.
If you don't need the full functionality of the Quaqua Look and Feel, you can include one of the following files instead: quaqua-filechooser-only.jar, quaqua-colorchooser-only.jar or the quaqua-menu-only.jar.
Include the directory /System/Library/Java in the class path.
In most cases, this happens automatically, if you include quaqua.jar in the class path, because quaqua.jar manifest has a Class-Path attribute that points this directory.
/System/Library/Java is needed to generate application and file icons. If this directory is not in the class path JOptionPane icons won't display the application icon and JFileChooser will not display a large preview icon of the currently selected file.
Include the files libquaqua.jnilib and libquaqua64.jnilib in the library path.
In most cases, it is sufficient to put these files in the same directory as the quaqua.jar file. In some cases you have to specify the library path explicitly using the system property "java.library.path".
These JNI libraries are needed by the JFileChooser and by JSheet. If you need either of them, you can omit this step.
Change the code of the main method according the following code snippet:</blockquote>

bem coloquei os arquivos
quaqua.jar
libquaqua.jnilib
libquaqua64.jnilib
na pasta /usr/java/jdk1.7.0/jre/lib/ext

e tabem add os jars
quaqua.jar
quaqua-filechooser-only.jar
swing-layout.jar
na biblioteca do projeto

quando compilo o projeto os jframes mudam de aparencia mas os icones por exemplo do JOptionPane nao aparecem
e surge o seguinte Warning na saida

Warning: class ch.randelshofer.quaqua.osx.OSXApplication couldn’t load library “libquaqua64.so”. java.lang.UnsatisfiedLinkError: no quaqua64 in java.library.path
Warning: class ch.randelshofer.quaqua.osx.OSXApplication couldn’t load library “libquaqua.so”. java.lang.UnsatisfiedLinkError: no quaqua in java.library.path

o que pode estar errado?

abraços

Criado 5 de dezembro de 2011
Respostas 0
Participantes 1