MouseClick on JLabel
I have two JLabels in a JPanel. When I click on a JLabel, I set border for it
but when I click on another label, the border is painted for that label too. What I need is when I click on the 2nd label, the border should be set null for the 1st label. How to do it?
public void mouseClicked(MouseEvent me)
if(me.getClickCount() == 1)