private void formInternalFrameOpened( javax.swing.event.InternalFrameEvent evt) { // GEN-FIRST:event_formInternalFrameOpened lblUsuario.setText(miUsuario.getUsuario()); Container ContenedorLista; ContenedorLista = (Container) ((JViewport) jspLista.getComponent(0)).getComponent(0); ContenedorLista.setLayout(null); ClaseListaContactos listaContactos = new ClaseListaContactos(); listaContactos.setContenedor(ContenedorLista); } // GEN-LAST:event_formInternalFrameOpened