the string desplais only when called alone ...

Hi all ;

Beeing new to JNI I don't know how to explain this thing:

I am working with the basic "HelloWorld" example from the jni toutorial (it simply dispalys "HelloWorld!" on the screen). I have a package from which I want to call the HelloWorld.displayHelloWorld() (that I added to my pacakge ext..) , when it is called from the main method alone (thus- with out other functions involved after it) it works , but when I allow the rest of the code to operate , it doesn't display the "Hello World!" as the output .My main method creats a JFrame and other features .

I thought maybe it had to do something with threads(which I don't know much about) , but I don't realy know how to make it work out side the main , or what realy causes it .

Any idea or reference to books or links , will be great .

thanks ;

Adaya .

[871 byte] By [adco] at [2007-9-26 5:56:48]
# 1
adding ...it will display the "helloWorld!" only after the JFrame is closed .... even if it was called not inside the main !(!?)Adaya .
adco at 2007-7-1 14:30:30 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
for some resion it works fine when I am using the cmd (prompt) and not when I am using the Kawa .oad but I'll live with it .
adco at 2007-7-1 14:30:30 > top of Java-index,Java HotSpot Virtual Machine,Specifications...