I have a JProgressBar and it comes out in orange, I have tried to change the color with this but it has not given results:
UIManager.put("progresoIP.background", Color.BLUE);
UIManager.put("progresoIP.foreground", Color.BLUE);
UIManager.put("progresoIP.selectionBackground", Color.BLUE);
UIManager.put("progresoIP.selectionForeground", Color.BLUE);
and with this:
progresoIP.setForeground(Color.blue);
progresoIP.setBackground(Color.blue);
positioned underinitComponents();