java.lang.NoClassDefFoundError.AbsoluteLayout?

I install " Sun ONE Studio 4 Update 1 Enterprise Edition " .

I run "JApplet"( programname ) with this forte4 successfully , but unsuccessfully run "JApplet.html" with IE5 . I get messege of errro : " java.lang.NoClassDefFoundError.org/netbeans/lib/awtextra/AbsoluteLayout " .

I find that there are "AbsoluteLayout.java and AbsoluteConstraints.java " in the directory :" forte4.1\sources\org\netbeans\lib\awtextra " ,help me !!!

[447 byte] By [qnzua] at [2007-9-28 14:04:15]
# 1
I get exactly the same... on my first attempt to write an applet and run it in Sun's runtime for IE...
dsibleya at 2007-7-12 10:23:37 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

The problem is that you had used a wizard to implements your Applet.

The remedy is that you include the AbsoluteLayout.jar in your classpath (forte4.1\modules\ext\).

Otherwise you can modify your applet code and sobstitute java.awt.LayoutManager2 to org.netbeans.lib.awtextra.AbsoluteLayout

By

mimmochiricoa at 2007-7-12 10:23:37 > top of Java-index,Other Topics,Patterns & OO Design...