aspose file tools
The moose likes Applets and the fly likes Obsolete Interface Used, a bug of JRE? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Obsolete Interface Used, a bug of JRE?" Watch "Obsolete Interface Used, a bug of JRE?" New topic
Author

Obsolete Interface Used, a bug of JRE?

Chinh Tran Nam
Ranch Hand

Joined: Nov 08, 2004
Posts: 35
Dear All,

I'm writing an applet to use in web application which is for showing a list from backend db. I want to keep the previous state of the list (cursor position, the selected entry...) when user navigates back to the page containing the applet.
My solution is to keep the main Panel object (showing the list) of the applet in a static Hashtable and get it from this Hashtable when returning.
My applet worked smoothly in IE with Microsoft JVM plugin but it failed when I used Sun JRE 1.4 (IE, Firefox). Here is exception it thrown:


This exception thrown when the Panel object is retrieved from static Hashtable and added to the applet's interface.

Has anyone experienced this problem? Please let me know how to fix it?

Thanks in advance.
[ July 27, 2005: Message edited by: Chinh Tran Nam ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24054
    
  13

Are you perhaps using an ancient copy of Visual J++ as your development environment?


[Jess in Action][AskingGoodQuestions]
Chinh Tran Nam
Ranch Hand

Joined: Nov 08, 2004
Posts: 35
No, I'm using Eclipse. Please let me know what will happen if I use that version of Visual J++?
Thanks
[ July 28, 2005: Message edited by: Chinh Tran Nam ]
Dale Seng
Ranch Hand

Joined: Mar 22, 2004
Posts: 275
Eclipse will use whatever SDK it finds, and it might have found an old one. You can dig around in Eclipse to see which SDK it's using. You can set it in two places, one for the default Java project, and one for the individual project. If you created the project yourself (ie didn't inherit it), then likely you're using the default SDK.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Obsolete Interface Used, a bug of JRE?
 
Similar Threads
Applet in JSP
Applet Fails to load in IE for the first time at random times giving Exception in java console
AffineTransform
ClassDefNotFoundError - wrong name
1.4.2_06 JRE on Win98 freezes