Problem GetStaticMethodID "getInstalledLookAndFeels" ?

Hi,

Please help me ....

See this example :

env, classUIManager are ok.

But i can't to find methodgetInstalledLookAndFeels. it is always null.

Where is my error ?

Thanks you

jclass classUIManager = (*env)->FindClass(env,"javax/swing/UIManager");

if (classUIManager)

{

jmethodID methodgetInstalledLookAndFeels = (*env)->GetStaticMethodID(env, classUIManager,"getInstalledLookAndFeels","()[Ljavax/swing/UIManager/LookAndFeelInfo;");

if (methodgetInstalledLookAndFeels)

{

jobjectArray objArraygetInstalledLookAndFeels = (*env)->CallStaticObjectMethod(env,classUIManager,methodgetInstalledLookAndFeels);

}

...

[934 byte] By [allan_corneta] at [2007-11-27 5:35:10]
# 1
Use the 'javap' tool with the '-s' option to get the proper method signature for use in JNI calls.()[Ljavax/swing/UIManager$LookAndFeelInfo;LookAndFeelInfo is a static nested class of UIManager.Jim S.
Niceguy1a at 2007-7-12 15:03:59 > top of Java-index,Java HotSpot Virtual Machine,Specifications...