Foros del Web » Programación para mayores de 30 ;) » Java »

JInternalFrame con JInternalFrame

Estas en el tema de JInternalFrame con JInternalFrame en el foro de Java en Foros del Web. Hola a todos, saludos, NUESTRO problem es el siguiente: Tengo un JDesktopPane con algún botón que llama a un JINTERNALFRAME_1, el cual me permite realizar ...
  #1 (permalink)  
Antiguo 14/06/2010, 10:41
 
Fecha de Ingreso: marzo-2010
Mensajes: 6
Antigüedad: 14 años, 1 mes
Puntos: 0
JInternalFrame con JInternalFrame

Hola a todos, saludos, NUESTRO problem es el siguiente: Tengo un JDesktopPane con algún botón que llama a un JINTERNALFRAME_1, el cual me permite realizar algunas cosillas con BD, y en este jinternalframe_1 tengo un boton (detalle de sistema), el cual llama a otro jinternalframe_2, el detalle está allí NO CONSIGO HACER QUE ESE BOTON LLAME A EL JINTERNALFRAME_2 EN EL MISMO JDESKTIPPNAe, ME ARROJA EXCEPCIONES, Y CUANDO LLAMO A LA CLASE PRINCIPAL QUE CONTIENE EL JDESKTOPPANE Y LLAMO A UN METODO QUE MUESTRE ESE JINTERNALFRAME_2, LO QUE HACE JAVA ES GENERAR OTRO JDESKTOPPANE RECIEN CON EL JINTERNALFRAME_2, LO CUAL ESTA MAL, QUEREMOS QUE NOS MUESTRE ESE JINTERNALFRAME_2 EN EL PRIMER JDESKTOPPANE.

RESUMEN:
COMO LLAMO UN JINTERNALFRAME_2 CON UN BOTON QUE TIENE OTRO JINTERNALFRAME_1 EN EL MISMO JDESKTOPPANE ?

PORFA JOVENES, ALGUIEN PODRIA INDICARME EL CAMINO CORRECTO, ESTAREMOS MUY AGRADECIDOS, CHAUFAA :)
  #2 (permalink)  
Antiguo 15/06/2010, 19:31
Avatar de FiruzzZ  
Fecha de Ingreso: diciembre-2007
Ubicación: en casa
Mensajes: 470
Antigüedad: 16 años, 4 meses
Puntos: 41
Respuesta: JInternalFrame con JInternalFrame

Cita:
Iniciado por adoxp04 Ver Mensaje
... ME ARROJA EXCEPCIONES...]
¿cuales?...
y cual es el código que las está arrojando...
así como HACES Visible el 1er jinternalframe_1
deberías hacer que el ActionPerformance (ActionPerformed) del botón dentro jinternalframe_1 haga visible a jinternalframe_2 y listo

PD: me juego un brazo a que la exception es un NullPointerException...

Última edición por FiruzzZ; 15/06/2010 a las 19:37
  #3 (permalink)  
Antiguo 15/06/2010, 20:25
 
Fecha de Ingreso: junio-2010
Mensajes: 1
Antigüedad: 13 años, 10 meses
Puntos: 0
Respuesta: JInternalFrame con JInternalFrame

holaaa disculpa la molestiaaa necesitoo ayudaaa eh intentando hacer un programa q me haga la alta en java con mysql y no me salee si puedes ayudarmee te lo agradeceria

Etiquetas: jinternalframe
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:16.