private boolean acceptedChannel(final ProgramMenuItem item) {
ChannelFilterComponent channelGroup = MainFrame.getInstance().getChannelGroup();
if (channelGroup == null) {
return true;
}
return channelGroup.accept(item.getProgram());
}
private int getMaxItemCount() {
if (Settings.propTrayUseSpecialChannels.getBoolean()) {
return Settings.propTraySpecialChannels.getChannelArray().length;