|
Thanks
for the help. However, I was able to figure this one out before I read any
email, and I'll share the solution.
BTW,
this problem was really exacerbated by moving to the JRE 1.4 Java Applet IE
plugin.
This
comes from having several classes in the same .java file:
-------------------------------------Foo.java public
class Foo {
public
Bar bar = new Bar();
}
class
Bar {
}
In JRE
1.3 you can call Foo.bar. Under newer plugins (JRE 1.4) you can't -- you
get a garbled message in what my friend told me was old-style mandarin (!) and
no exceptions anywhere in the IE java console and/or
appletviewer/jdb.
Solution is deceptively simple: split up the classes into separate
files:
-------------------------------------Foo.java
public
class Foo {
public
Bar bar = new Bar();
}
-------------------------------------Bar.java
public
class Bar {
} Now
you can call Foo.bar in all the JREs I tested. I hope this saves 3 hours
for someone...
Greg
____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________ |
Title: [jdjlist] Applet Question
- [jdjlist] Fw:RMI over the Wan vs Soap (WebSErvices) Greg Nudelman
- [jdjlist] Fw:RMI over the Wan vs Soap (WebSErvices) U. Penski
- [jdjlist] Re: Fw:RMI over the Wan vs Soap (WebSEr... M. E. Zawadzki
- [jdjlist] Re: Fw:RMI over the Wan vs Soap (We... M. E. Zawadzki
- [jdjlist] Re: Fw:RMI over the Wan vs Soap (WebSEr... Joseph Ottinger
