title: Changing JTable header height
body: <p>Happy new year everyone, i've a problem chaning the height of a JTable header, I appreciate if someone can help. The Method I'am using is changing also the backgroundcolor etc.
  Thanks</p>
  
  <pre><code>public static void ChangeJTableBackgroundColor(JTable InTable){
      JTable mytable = InTable;
      Color mycolor = new Color(248, 201, 171);
      mytable.setOpaque(true);
      mytable.setFillsViewportHeight(true);
      mytable.setBackground(mycolor);
      Color mycolorhead = new Color(249, 168, 117);
      mytable.getTableHeader().setBackground(mycolorhead);
      mytable.getTableHeader().setPreferredSize(new Dimension(1,50)); 
  
   }
  </code></pre>