The control for showing and hiding the topic bar should be in the container not in the topicbar itself. If not super.setVisible(showBar && visibility && (!hideEmpty || topicText.getDocument().getLength() > 0))
The control for showing and hiding the topic bar should be in the container not in the topicbar itself.
If not super.setVisible(showBar && visibility && (!hideEmpty || topicText.getDocument().getLength() > 0))