Listing 2 shows the code, (extracted from Listing 1)
Color selColor = JColorChooser.showDialog( chooseButton, "Choose color", new Color(redInt,greenInt,blueInt));