Java Code Examples for javax.swing.JLabel.getName()

The following are Jave code examples for showing how to use getName() of the javax.swing.JLabel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: xdman   File:   Source Code and License Vote up 5 votes
public void mouseClicked(MouseEvent e) {
	if (e.getSource() instanceof JLabel) {
		JLabel src = (JLabel) e.getSource();
		String id = src.getName();
		for (int i = 0; i < arrLbl.length; i++) {
			if (arrLbl[i] == src) {
			} else {