Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

ActionListener

JButton b1 = new JButton("Some Text");
b1.addActionListener(new ActionListener() {
// The Method
}
// Remember! At The End Type This:
});
Source by www.java2s.com #
 
PREVIOUS NEXT
Tagged: #ActionListener
ADD COMMENT
Topic
Name
7+5 =