자바 SWT로 채팅 프로그램을 만들고 있습니다

widgie의 이미지

처음에는 AWT로 만들었다가 이제

SWT로 바꿔볼려고 하는데요

    public void actionPerformed(ActionEvent event) {
        try {
.
.
.
중간생략
.
.
.
            } else if (connectok
                    && event.getActionCommand().equals(textField4.getText())) {
                dos_c.writeUTF(id + " : " + event.getActionCommand());
                dos_c.flush();
                textField4.setText("");
            }
        } catch (IOException ex) {
        }
    }

메시지 입력창에서 메시지는 입력했을때

AWT에서는 저렇게 처리했는데 SWT에서는

어떻게 처리해야할지 모르겠습니다

도와주세요~~

atie의 이미지

----
I paint objects as I think them, not as I see them.
atie's minipage

widgie의 이미지

감사합니다!!!

:D

M.W.Park의 이미지

여기도 참고할만 합니다. 8)
http://www.eclipse.org/swt/snippets/

-----
오늘 의 취미는 끝없는, 끝없는 인내다. 1973 法頂