private void updateLineList(){
  if (horizontalLineRadiobutton.isSelected()) {
    setHorizontalLineSelected();
  }
 else {
    setVerticalLineSelected();
  }
  updateButtonStates();
}

private void updateLineList ( ) { if ( horizontalLineRadiobutton . isSelected ( ) ) { setHorizontalLineSelected ( ) ; } else { setVerticalLineSelected ( ) ; } updateButtonStates ( ) ; }
updates the displayed list of lines .
