Board index » jbuilder » GUI problems for server brocasting to all.
Bob H
JBuilder Developer |
GUI problems for server brocasting to all.2003-12-19 01:56:33 AM jbuilder22 Hi All, I have a server using system in/out that will accept messages from many and broadcasts to all messages what all users write. It does the job without failure. Having converted it now to a swing format and using the designer, I have a good looking GUI with 2 JButton(s): one to "start" and the other to "close" and a JTextField to enter the port number. Of course I can click the "close" button first and it does close. However, if first pressing the "start" button, this causes the gui "start" button enter the port number from the textfield, then to freeze and the close button to be inoperative. The server is in a "do it" mode and cannot get out of the task of "while (true)" and/or "run". Are there any models to look at or hints to share to fix this problem? Bob H |