Makes a Swing component inverted by swapping its foreground
and background colors. Hint: Depending on your needs it might
also be a good idea to call c.setOpaque(true).
final Color invBackground = c.getForeground();
final Color invForeground = c.getBackground();
c.setBackground(invBackground);
c.setForeground(invForeground);