달력

42025  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

'awt'에 해당되는 글 3건

  1. 2011.09.23 Java AWT Application 만들기
  2. 2011.09.23 Java AWT & SWING
  3. 2010.06.03 Basic Framework : JAVA AWT Program

'Lecture Notes > Java Programming' 카테고리의 다른 글

Java Applet Programming  (0) 2011.09.23
Java SWING Application 만들기  (0) 2011.09.23
Java Framework Programming  (0) 2011.09.23
Java AWT & SWING  (0) 2011.09.23
자바 애플릿 & 어플리케이션  (0) 2011.09.23
Posted by kingjung
|

'Lecture Notes > Java Programming' 카테고리의 다른 글

Java AWT Application 만들기  (0) 2011.09.23
Java Framework Programming  (0) 2011.09.23
자바 애플릿 & 어플리케이션  (0) 2011.09.23
Java Important Issues  (0) 2011.09.23
Java Event Componet  (0) 2011.09.23
Posted by kingjung
|

import java.awt.*;
import java.awt.event.*;


public class AWTCaseFive extends Frame implements ActionListener  {
            public static final int WIDTH = 300;
            public static final int HEIGHT = 200;

public AWTCaseFive() {
    setTitle("AWT Case 5");
    setSize(WIDTH, HEIGHT);

    Button endButton = new Button("Click to End the Program");
    endButton.addActionListener(this);

    add(endButton);

    setVisible(true);
 }

 public static void main(String[] args) {
    new AWTCaseFive();
 }

 public void actionPerformed(ActionEvent e) {
    System.exit(0);
 }

}

'Lecture Notes > Android Basics' 카테고리의 다른 글

Javastyle Android Program (Basic)  (0) 2010.06.04
Default Android Program (Basic)  (0) 2010.06.04
WIPI Basic Program  (0) 2010.06.03
J2ME Basic Program  (0) 2010.06.03
Basic Framework : Java SWING Program  (0) 2010.06.03
Posted by kingjung
|