void function ( Color arg0 ) { _rgbSliders [ 0 ] . setValue ( arg0 . getRed ( ) ) ; _rgbSliders [ 1 ] . setValue ( arg0 . getGreen ( ) ) ; _rgbSliders [ 2 ] . setValue ( arg0 . getBlue ( ) ) ; updatePatch ( ) ; _dialog . setLocationRelativeTo ( _dialog . getParent ( ) ) ; _dialog . setVisible ( true ) ; }
show the dialog to choose a colour concode_field_sep Color _chosenColour concode_elem_sep JSlider[] _rgbSliders concode_elem_sep JDialog _dialog concode_elem_sep ColourPatch _patch concode_elem_sep JLabel[] _rgbLabels concode_field_sep void updatePatch concode_elem_sep JPanel makeContents concode_elem_sep Color getChosenColour