In a Layout Manager when I use setPreferedSize it increased the size of JLabel but show only one word like (JLabel  = Name) after using setPreferedSize JLabel becomes like N.... But setFont works correctly..
Can anyone tell the exact difference between the behavior of setFont and setPreferredSize?
 
     
    