Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/05/2013, 00:22
gato_zoldick
 
Fecha de Ingreso: junio-2005
Mensajes: 30
Antigüedad: 18 años, 10 meses
Puntos: 0
Respuesta: Cerrar Ventana con Dispose()

Gracias estimado!
Por si alguien no tiene claro donde poner el código en mi caso lo puse en el botón del menú del Frame Principal.

private void jMenuItem1ActionPerformed(java.awt.event.ActionEve nt evt) {
FrameCliente pantalla = new FrameCliente();
pantalla.setDefaultCloseOperation(JFrame.HIDE_ON_C LOSE);
pantalla.setVisible(true);
}