¾ÖÇø´ ÇÁ¸°Æ®ÇÏ´Â ¹æ¹ýÀº ¾î¶»°Ô ÇÏ¸é µÇÁÒ ?


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

±Û¾´ÀÌ :ÃÖÁ¾Ã¶ 1998³â 7¿ù 25ÀÏ 22:36:31

In Reply to: [´äº¯]ÇÁ¸°Æ® ÄÚµå´Â Á¦°¡ À߸ø ¿Ã·È°í¿ä........ posted by Á¶½ÅÁ¦ on 1998³â 7¿ù 25ÀÏ 22:18:59:

ÇÁ¸°Æ®¸¦ ¾ÖÇø´À» ÇÒ·Á°í Çϰŵç¿ä.
Á¶½ÅÁ¦´Ô²²¼­ ¿Ã·ÁÁֽŠÇÁ¸°Æ® ¼Ò½º´Â
¿¡·¯¾øÀÌ ÀߵǴµ¥¿ä.
ÀÌ°ÍÀº ¾î¶»°Ô »ç¿ëÇϴ°ÍÀÎÁö..
Àß ¸ô¶ó¼­¿ä.
Àú´Â ÀÚ¹Ù¸¦ ½ÃÀÛÇÑÁö 1´ÞÁ¤µµ µÇ¾î¼­..
Àß ¸ð¸£´Ï±î, Á¶±Ý¸¸ µµ¿ÍÁֽʽÿÀ.


¾Æ·¡ Äڵ带 ÀÌ¿ëÇؼ­ ÇÁ¸°Æ®¸¦ ÇÒ¼ö ÀÖ´Â ¹æ¹ýÀº ¾øÀ»±î¿ä ?



------------- ÇÁ¸°Æ® ¿¹Á¦ ----------------
import java.awt.*;
import java.awt.event.* ;



public class PP extends java.applet.Applet implements ActionListener {



Label status = new Label("Print ME !!");
Button prbtn = new Button("PRINT APPLET") ;



public void init() {
setLayout(new FlowLayout(FlowLayout.CENTER,10,10)) ;
add(status) ;
add(prbtn) ;
prbtn.addActionListener(this) ;
} // init



public Insets getInsets() { return new Insets(10,10,10,10); }
public void start() { }
public void stop() { }



public void actionPerformed (ActionEvent e) {
if (e.getSource() instanceof Button) {
PrintJob job = getToolkit().getPrintJob(this, "Print Test",
null) ;
//(Properties)null) ;
if (job != null) {
Graphics pg = job.getGraphics() ;
if (pg != null) {
printAll(pg) ;
pg.dispose() ;
}
job.end() ;
}
} // instanceof Button
} // actionPerformed



} // top



´ÙÀ½ ±Ûµé:



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

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


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