Applets: Difference between IE and Netscape?

Hi!
Is there a different event handling (mouse and keyboard) in MS IE and Netscape?
When working with Netscape everything is fine:

<!--
public class myClass extends Applet implements MouseMotionListener, MouseListener, KeyListener, ActionListener
--->

Doing this under IE does only fire the mouseDrag event.
Do I have to work with the old Java 1.0 event handling modell to get my applet up and running?
LVL 4
max-hbAsked:
Who is Participating?
 
heyhey_Connect With a Mentor Commented:
IE native VM is Java 1.1 compatible. you have to either write 1.1 compatible code or use Java plug-in.
0
 
girionisCommented:
listening...
0
 
heyhey_Commented:
what exactly is the problem ?

post the full code.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
max-hbAuthor Commented:
Further investigation using the java-console of MS IE shows me

java.lang.NoSuchMethodError: java/awt/Rectangle: method getX()D not found

So obviously not the eventhandling is the problem but my usage of rectangles. I use them to implement a drag and drop operation and to find intersections of different (movable) rectangular objects.
In the Java 2 API documentation I found this method and it's happily accepted by the javac compiler and my Netscape Navigator.
Only IE is having problems - why?

0
 
max-hbAuthor Commented:
O.K., where can I find documentation about Java 1.1 and rectangles, so I can modify my code? Hope Rectangle wasn't introduced after 1.1 ;-)
0
 
max-hbAuthor Commented:
Thx to heyhey I could fix the problem. Points will be granted right now.
For those interested: The old Java 1.1 API specification can be found at:
http://java.sun.com/products/jdk/1.1/docs/api/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.