During the learning process, due to the BDK of Sun on the tutorial, I went down, and the results were running, there was a sunw.demo.gettons.explicitbeaninfo.gets.ExplicitBeanInfo.geTeventsetDescriptors () This method was thrown, and I found it on Sun's website. For a long time, I finally found the solution. I am under Windows XP, and 2K should apply.
First, according to the path:
Find this file, open, in about 45th, there is such a sentence:
EventsetDescriptor Push = New EventSetDescriptor (Beanclass, "ActionPerformed", Java.awt.Event.ActionListener.class, "ActionPerformed");
Replace the above sentence:
EventsetDescriptor push = new event setdescriptor (beanclass, "action", java.awt.event.ActionListener.class, "actionperformed");
(It is actually replacing the "ActionPerformed" of the second line to "action").
After replacing it, compile (if a compilation error occurs, all Java files of the directory in the file are compiled once, Javac * .java).
Replace the generated explicitButtonBeanInfo.class file:
The same name file (I use WinRAR replacement, very convenient) ^ _ ^.
If you don't understand, you can send it to me, huh, huh.
Hilber@mail.9cbs.net