Tnx .What can I do to show list in textArea when I close Dialog?Here is the code:
Joined: Oct 13, 2005
I can see all sorts of things wrong with that, I am afraid. Just a few:
Why have you got a List inside a class which should be for displays? Why is that List static? You should have classes which implement the logic and they should be completely separate from the GUI. In fact you should be able to put a completely different GUI atop the logic without changing it.
Is that code complete? You have some actionPerformed methods, but nothing shown which implements a Listener. The performed methods do not seem to give any instructions to the text area to update itself, which is presumably why nothing happens when you close the dialogues.
I am not sure that a modal dialogue is the best way to update your list of players.
That looks like code produced by NetBeans. Is it? Your inconsistent indentation makes it difficult to see where one class ends and the next begins.