Hello, I need create custom dialog and put JPanel into it. Is it possible?
thanks a lot. And where I can implement what happend with values from components of panel in dialog? That panel will have some jTextFields and listBoxes.
joseph
2010-03-14 17:37:12
In the example from the link it seems it is all done in the user's `createPane` method or you can try manually with: `your_dialog.getContentPane().add(whatever)`
Anthony Forloney
2010-03-14 17:40:13
But when I click "OK", i need to get the values from the fields, or say to user that some are invalid.
joseph
2010-03-14 17:42:40
I found it, probably it will be in void close(). Thanks.
joseph
2010-03-14 17:43:39
No problem, good luck.
Anthony Forloney
2010-03-14 17:46:18