Example #1
0
 @Override
 public void mouseEntered(MouseEvent e) {
   // TODO Auto-generated method stub
   JLabel now = (JLabel) e.getSource();
   now.setCursor(new Cursor(Cursor.HAND_CURSOR));
   TextLabelStyle.makeUnderLine(now);
 }
Example #2
0
 @Override
 public void mouseExited(MouseEvent e) {
   // TODO Auto-generated method stub
   JLabel now = (JLabel) e.getSource();
   TextLabelStyle.makeStrikeThrough(now);
 }