public void itemStateChanged(ItemEvent ie) {
// Sort by the proper comparator based on whether the box was checked or unchecked
if (ie.getStateChange() == ItemEvent.SELECTED) {
groupOnline = true;
Collections.sort(streams, new OnlineComparator());
}
if (ie.getStateChange() == ItemEvent.DESELECTED) {
groupOnline = false;
Collections.sort(streams);
}