title: How to make an invisible border around a JLabel? (JAVA)
body: <p>I have been searching how to make a border around a JLabel.  But I don't want it to have no color.  Thanks in advance.</p>
  
  <pre><code>public TitlePanel()
  {
      title = new JLabel("This is some text!", JLabel.CENTER);
      add(title);
  
      //This will make a black border around the "title" label
      title.setBorder(new LineBorder(new Color(0,0,0)));
  }
  </code></pre>