title: JLabel display too short for the whole text
body: <p>This is an example of JLabel displayed too short and has not enough space for the "website" (refer to the code) part. </p>
  
  <pre><code>import javax.swing.*;
  import java.awt.*;
  import java.awt.event.*;
  
  public class JLabeleg extends JFrame
  {
  public JLabeleg()
  {
      setTitle("Example");
      setSize(500,100);
      setVisible(true);
      setLocationRelativeTo(null);
      setLayout(new BorderLayout());
  
      Container eg = getContentPane();
      JPanel west = new JPanel(new GridLayout(2,1));
      JPanel center = new JPanel(new GridLayout(2,3));
  
      eg.add(west,BorderLayout.WEST);
      eg.add(center,BorderLayout.CENTER);
  
  
      west.add(new JLabel("Name         :  "));
      west.add(new JLabel("Website     :  "));
  
      center.add(new JLabel("Szekuns"));
      center.add(new JLabel(""));
      center.add(new JLabel(""));
      center.add(new JLabel("www.example.com.my/example/example"));
      center.add(new JLabel(""));
      center.add(new JLabel(""));
  
  }
  
  public static void main(String[] args)
  {
      JLabeleg example = new JLabeleg();
      example.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  }
  }
  </code></pre>
  
  <p>What is different between my original code and this example is that the source of JLabel is actually a "setText" from an Object load from an IO file. Does that matter? Is there anyway for the "www.example.com/example/example" to have a full view? Maybe by taking the space of the JLabel on the right hand side? </p>