Java RGB problem