Mình mới học Java, đang mò cái QuaQua Look and Feel, thay đổi giao diện cho giống Mac. Nhưng có một chút vấn đề, bên trong thì giống mà border với các nút mini,maxi,close lại ko giống.
mình ko hiểu đoạn này lắm, mong đc chỉ giáo :(.
Chết, nhầm box, nhờ mod move wa lập trình
#1 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.
# 2Include 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.
#3 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.
mình ko hiểu đoạn này lắm, mong đc chỉ giáo :(.
Chết, nhầm box, nhờ mod move wa lập trình
