public void paintBackground(Graphics g) {
   if (isActive()) {
     g.setColor(AbstractLookAndFeel.getWindowTitleBackgroundColor());
   } else {
     g.setColor(AbstractLookAndFeel.getWindowInactiveTitleBackgroundColor());
   }
   g.fillRect(0, 0, getWidth(), getHeight());
 }
 public void paintPalette(Graphics g) {
   if (JTattooUtilities.isFrameActive(this)) {
     g.setColor(AbstractLookAndFeel.getWindowTitleBackgroundColor());
   } else {
     g.setColor(AbstractLookAndFeel.getWindowInactiveTitleBackgroundColor());
   }
   g.fillRect(0, 0, getWidth(), getHeight());
 }