Java Applet question

Nate Cole cole_n_g
Mon May 17 11:38:05 PDT 2004


Matt,

getWidth() in 1.3+ is from the Component super class.  This
method did not exist in 1.1 Component.

BTW, specifying -target 1.1 does *not* verify a backward
compatable class.  It merely makes the resulting .class file
**binary compatible**.

Nate

--- Matthew Carpenter <matt at eisgr.com> wrote:
> I realize this isn't necessarily a direct Linux question, but
> this is the
> largest amount of brainpower I know of.
> 
> I have created an Applet and compiled it using COLW31's
> default JVM (Sun
> JVM 1.3)
> Loading the Applet on a Windows machine using IE5.5 and the
> MS JVM fails
> with an error message, basically: "getWidth()I method not
> found".  I load
> the Sun JVM on the same Windows workstation and it loads
> fine.  Did MS
> break their VM further such that it won't read Applets
> created using the
> Sun JVM or is this a known LinuxJVM/MSJVM conflict?  I've
> tried compiling
> for a backleveled version using the "-target 1.2" and
> "-target 1.1"
> options, but to no avail.  Any help would be appreciated.
> 
> Thanks!
> Matt
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc ->
http://www.linux-sxs.org/mailman/listinfo/linux-users


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


More information about the Linux-users mailing list