Swing problem

I had a problem

Here is the code

JButton updBt = new JButton("My Button");

> updBt.addActionListener(new ActionListener() {

>public void actionPerformed(ActionEvent e) {

>// Call method or do what you want here

> }

> });

>

// Call method or do what you want here:

if (ae.getActionCommand().equals(My Button))

I want to get the code after this. I am trying to get the code for the last hours and was not able to get hope some one will helo me.

Thanks

[558 byte] By [mgrahula] at [2007-11-26 13:59:52]
# 1
http://forum.java.sun.com/thread.jspa?threadID=5120775&messageID=9420928#9420928here is ur solution
zerocooola at 2007-7-8 1:40:52 > top of Java-index,Desktop,Core GUI APIs...