title: Set Border Thickness on JPanels?
body: <p>I'm wondering if it is possible to adjust the thickness of a border around a JPanel in Java? I currently have a border defined and the JPanel adds the border around it but I would like it to be a little thicker:</p>
  
  <pre><code>Border border;
  JPanel panel;
  
  border = BorderFactory.creatLineBorder(Color.RED);
  panel = new JPanel();
  panel.setBorder(border);
  </code></pre>