- 채팅원리
클라이언트쪽에는 4개의 Thread가 있다. JFrame을 사용한 클래스가 2개 있는데, 하나는 Login때 ID사용 허가를 확인한는 프레임이고, 다른 하나는 채팅의 기본 프레임이다. 4개의 Thread는 다음과 같다.
- Java/SwingCookBook
JFrame frame = new JFrame();
=== JFrame Title Bar 없애기 ===
- 데블스캠프2004/금요일
* JFrame의 show() 메소드 -> 프레임창을 보이게 한다.
* JFrame의 setBounds(int x, int y, int weight, int height) 메소드
public class FirstJava extends JFrame{
import javax.swing.JFrame;
JFrame f = new JFrame(title);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Upload:Swing_JFrame.gif
public class FirstJava extends JFrame{
public class FirstJava extends JFrame{
public class FirstJava extends JFrame{
Found 3 matching pages out of 7540 total pages
You can also click here to search title.