title: java - Color Header not working
body: <p>I want to change color the header of my table and also i have already code of that. but it's nothing happen. this is my code.</p>
  
  <pre><code>public void setupcolor() {
  
      table_desc.getTableHeader().setBackground(new Color(51,122,183));
      table_desc.getTableHeader().setOpaque(false);
      table_desc.getTableHeader().setForeground(Color.BLACK);
      table_desc.getTableHeader().setFont(new java.awt.Font("Noto Sans", 0, 14));
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/efYoY.png" rel="nofollow noreferrer">see the screenshot, the header did not changes even my codes is right.</a></p>