for (int i = 0; i < ratingButtons.length; i++) { ThreeModeButton button = ratingButtons[i]; button.setSelection(button == e.widget); } Track track = getSelectedTrack(); if (track != null) setRating(track, value); }
actionAbout(); }
        public void widgetSelected(SelectionEvent e) {          for (int i = 0; i < ratingButtons.length; i++) {            ThreeModeButton button = ratingButtons[i];            button.setSelection(button == e.widget);          }          Track track = getSelectedTrack();          if (track != null)              setRating(track, value);        }