Why generating event adapter code using ActionAdapter instead of ActionLisnter?


2005-04-28 11:19:04 PM
jbuilder7
Hi all,
when I add a JButton to a JFrame in the visual designer and
double-click on it, jbuilder would automatically generate the event
adapter by extending ActionAdapter, not by implementing
ActionListner. However, there is no ActionAdapter in J2SDK 1.4.2 API,
so I have to manually correct the generated code every time. What is
wrong with my jbuilder?