File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Painting using Microsoft VM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Painting using Microsoft VM" Watch "Painting using Microsoft VM" New topic
Author

Painting using Microsoft VM

Gena Lungu
Greenhorn

Joined: Jun 18, 2003
Posts: 1
I have an applet that has a number of frames with extensive GUI component usage. Some of them use double buffered panels, custom painting etc.
The applet is run in IE under Microsoft VM.
The problem occures unpredictably (sometime it does, sometimes it doesn't) in the form of the following exception:
java.lang.NullPointerException
at com/ms/awt/ZLabelPeer.update
at com/ms/awt/WComponentPeer.doUpdate
at com/ms/awt/WComponentPeer.paintNode
at com/ms/ui/windowmanager/PaintRequest.run
at com/ms/ui/windowmanager/RunnableMessage.run
at com/ms/awt/WSystemQueue.getMessage
at com/ms/awt/WEventQueue.getNextEvent
at java/awt/EventDispatchThread.run
After this, one of the components quits repainting properly.
Can somebody help solve this issue?
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Painting using Microsoft VM