![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/01/2013, 10:27
|
![Avatar de detective_jd](http://static.forosdelweb.com/customavatars/avatar405527_2.gif) | | | Fecha de Ingreso: abril-2011 Ubicación: Salto
Mensajes: 437
Antigüedad: 13 años, 9 meses Puntos: 6 | |
Respuesta: Adaptar largo y ancho de un jframe al de un jpanel Muchisimas gracias me funcionó de maravillas me quedó así el botón:
JFrame ventana = (JFrame) SwingUtilities.getWindowAncestor(this.btnvolver);
ventana.setVisible(false);
gracias a tí ahora puedo avanzar con el invento que estoy haciendo.
Nuevamente gracias |