These are exclusively English-language forums; please supply an English translation of your question, or it is liable to be deleted.
What happens if you run this code? Are there any error messages, either from JavaScript or from Java?
Hi Ulf ,
I am sorry, I mixed up languages
I don't get any Error, on my TextFeld I see massege from :
DIe beide Zahlen sind :12 12
So this code part is not working :
"
and after this nothing happens...
thank you!
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35256
7
posted
0
Not sure what's going on, but LiveConnect (the Java/JavaScript bridge technology) is notoriously fickle. I'd recommend to use the Common DOM API instead, if at all possible.
Rok Štelcer
Ranch Hand
Joined: Nov 03, 2009
Posts: 101
posted
0
Hi,
On the first look I'd say that there could be two potential problems in your example/code:
1. I'm not sure, if you're calling the JSObject.getWindow in a right place As far as I know, you should call it in Applets init() method.
Example:
2. Following code is missing in your HTML:
Hope this helps.
Regards,
Rok
SCJP, SCWCD
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: JSObject, how can I call JS function from Java Applet ?