jeudi 27 novembre 2014

multiple JDialog, content not showing when non?


Vote count:

0




I simply have a JFrame with a button. when button is clicked a new NON modal JDialog will pop up. first window comes up fine but second window and so on have no content (they don't load properly). I've tried running it in a new thread, it still doesn't work. any clue?



SwingUtilities.invokeLater(new Runnable(){
public void run(){
dialog.setVisible(true);
}
});


^ is not working.


This does NOT hhappen if I use JFrame instead if JDialoge.



asked 34 secs ago







multiple JDialog, content not showing when non?

Aucun commentaire:

Enregistrer un commentaire