private void updateFileName() { this.pane.remove(this.fileName); this.fileName = isSecuenceSet() ? new JLabel(sequence.getName()) : new JLabel("No sequence loaded"); this.pane.add(this.fileName); }