ÀÌ ¼Ò½ºÁ» ºÁÁÖ¼¼¿ä.


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :À̽¹è 1998³â 1¿ù 06ÀÏ 14:02:32

°£´ÜÇÑ ¾ÖÇø´À» Â¥ º¸¾Ò´Âµ¥¿ä.
import java.awt.*;
import java.applet.*;
public class TestLabel extends Applet
{
Label greetLabel;

public void init()
{
add(new Button("ok"));
Label greetLabel = new Label("hi~~~",Label.RIGHT);
}


public boolean action(Event event, Object KindAction)
{
if (!(event.target instanceof Button))
{
return false;
}
{
setBackground(Color.red);
Label greetLabel = new Label("test",Label.RIGHT);
add(greetLabel);
}
return true;
}
}
±×·±µ¥.. setBackground´Â Àß µÇ´Âµ¥..
greetLabelÀÌ ¾È»ý±â³×¿ä.
´äº¯Á» ºÎŹµå¸®°Ú½À´Ï´Ù.
±×·³..


´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]