private void editPoint ( ) { if ( selected == null ) { return ; } Color col = JColorChooser . showDialog ( this , "Select Color" , selected . col ) ; if ( col != null ) { selected . col = col ; repaint ( 0 ) ; fireUpdate ( ) ; } }
Edit the currently selected control point