/** * Constructs the elements of the tab. * * @param LIBRARY_MEDIATOR the <tt>LibraryMediator</tt> instance * @param PLAYLIST_MEDIATOR the <tt>PlayListMediator</tt> instance */ public LibraryPlayListTab(final LibraryMediator lm) { super("LIBRARY", GUIMediator.LIBRARY_INDEX, "library_tab"); LIBRARY_MEDIATOR = lm; setPlayerEnabled(GUIMediator.isPlaylistVisible()); }