Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

actionlistener java

JButton Button = new JButton();
Button.setSize(300,300);
Button.addActionListener(new ActionListener() {
	public void actionPerformed(ActionEvent e) 
    System.out.println(BlockNumber)
  	}
});
Source by www.java2s.com #
 
PREVIOUS NEXT
Tagged: #actionlistener #java
ADD COMMENT
Topic
Name
3+2 =