void _setContentPane(JPanel pane, String titulo) { boolean visibilidad = this.isVisible(); this.setVisible(false); super.setContentPane(pane); ajustarYCentrar(this, pane); // try { Thread.sleep(1); } catch (InterruptedException ignored) { } if (titulo != null) { setTitle(titulo); } generarFondo(this); this.setVisible(visibilidad); this.repaint(); }
public void setTitle(String title) { super.setTitle(title); this.objectTable.setToolTipText(title); }