Doubts in using java.beans.EventHandler
- From: "Laax" <tolaax@xxxxxxxxx>
- Date: 30 Jun 2005 00:18:33 -0700
Hi All,
I like to replace my event handling code (using inner classes) with
JDK1.4.x java.beans.EventHandler?
But I doubt how can I use it in the following case?
myButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
String x = evt.getAProperty();
String y = evt.getAnotherProperty();
// use x and y.
}
});
I want the ActionEvent to be passed to my method...How can I do it?
Laax.
.
- Prev by Date: Re: How to get file extention from Content-type.
- Next by Date: Re: A button close in JDialog
- Previous by thread: How to get file extention from Content-type.
- Next by thread: paging in jsp
- Index(es):