°¨»çÇÕ´Ï´Ù. ±×·±µ¥....


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

±Û¾´ÀÌ :À̱¤¼ö 1998³â 9¿ù 08ÀÏ 14:42:54

In Reply to: ¾ÖÇø´¿¡¼­ ´ÙÀ̾˷α׸¦ ¸ø ¸¸µå´Â °ÍÀ¸·Î ¾Ë°íÀÖ½À´Ï´Ù. posted by ¹Ú½Ãµ¿ on 1998³â 9¿ù 08ÀÏ 08:52:03:

Á¦¼Ò½ºÀÔ´Ï´Ù.


import java.awt.*;
import java.applet.*;


public class extends Applet implements ActionListener
{
public void error(String msg)
{
Ente_msg a = new Ente_msg();
a.setTitle("Ente Alert Message");
a.resize(300,150);
a.setBackground(Color.white);
a.setLayout(new BorderLayout());
a.add("Center",new Label(msg,Label.CENTER));
Panel p = new Panel();
p.setLayout(new FlowLayout(FlowLayout.CENTER,0,0));
Button b = new Button("O.K");
b.setBackground(Color.green);
p.add(b);
a.add("South",p);
a.move(400,250);
a.show();
}
}


class Ente_msg extends Frame
{
public boolean handleEvent(Event evt)
{
if(evt.id == Event.WINDOW_DESTROY)
dispose();

return super.handleEvent(evt);
}
public boolean action(Event evt,Object arg)
{
if(evt.target instanceof Button)
{
this.dispose();
return true;
}
return false;
}


}


±×·±µ¥ Àü ÀÌÇØ°¡ ¾ÈµÇ´Â±º¿ä.


¼³¸íÁ» ºÎŹÇÕ´Ï´Ù.(¿¹¸¦ µé¾î¼­¿ä....)



´ÙÀ½ ±Ûµé:



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

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


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