È ق– ÎÁ ā˂•…‹Á ĸÁ̓ āŸß…
ŽPFDocument ‚éŸéŒÁ ‚éƒ .ÝËÍé— āéėÁÍÁ ‚‡œŸÁ ‚… ÁÍ Ä‚ˆ Ã߈͂žˆ ͂…Š‚‹ ܗ
Ý酋Ÿ‹ ā— ËŸ…•‚ŸÍË Žā•‚Ž‚ƒ .˟ˌ ‚œŒĀ ܛ‚— Íßԃ PFPrintObject ß PFPage
ËßéŠ ā雂œÍƒ ⃠ÁÍ ‚žœĀ ˟œÁ߅ĸ› āœß˜ˆ ß Ëߌĸ› ĸ‰ÁÍÔ āœß˜ˆ á͟˜ āÎÁ˜Á
ĸ‚éāéŸéßé… āéƒ ŽËŸÁāˌ ‚œŒĀ łŸė· ß Ü‰Á͛ ĸ›‚›… ‚ƒ ā— Ü‚‰ .˟Ë ԋƒ
.ËŸė‚›œ ā‡ß… È ق– ÎÁ ā˂•…‹Á ⃠Ô߃͛

:ŋÁ ݟ‹–… ܃‚– ā˂‹ ā™‰Í› ͂žˆ āƒ ËœŸÁ͕ ޟÁ

.ËŸė‚›œ ˂‡ŸÁ PFDocument ĸŸŒ ڟ

.ËŸė‚›œ ā•‚ŽÁ PFDocument ⃠ÁÍœĀ ß Ë‚‡ŸÁ PFPage ĸŸŒ ڟ

PFPage ĸ韌 ⃠ÁÍ ‚žœĀ ß Ë‚‡ŸÁ ˜ߌ ĸ› ͝‚Õ ≕ ÍË ā— ÁÍ ĸŸ‚ŸŒÁ ĸ›‚›…
.˟œ— ā•‚ŽÁ

.Ëߌ È ‚… ˟œ— Áˍ ÁÍ document.print() ˅›
‚é›éŒ ÜéŸ‚é• ÍË Ë߇ߛ ł‰• ĸ›‚›… ‚… ˟œ— ÍÁ͗… Í˖œĀ ÁÍ ā‹ ß ßË Ü‰Á͛
.˟œ— Á͇Á ÁÍ Í‚— ޟÁ āœß˜ˆ ā— ËËĸ› ނŒœ ‚›Œƒ ͟Π˗ .˜ߌ ˂‡ŸÁ






Resources
Graphic Java 2, Mastering the AWT, Volume 1, David M. Geary (Prentice Hall, 1998) -- you will find tons of books covering Java AWT, but none will cover the subject to this extent. If you're writing GUIs, you must have this book next to your computer:
http://www.amazon.com/exec/obidos/ASIN/0130796662/javaworld

Migrating from Java 1.0 to Java 1.1, Daniel I. Oshi and Pavel A. Vorobiev (Ventana Communications Group, 1997) -- this book was helpful when Java 1.1 came out, and was the first to talk about printing in Java:
http://www.amazon.com/exec/obidos/ASIN/1566046866/javaworld

Java 2D API Graphics, Vincent J. Hardy (Prentice Hall, 1999) -- probably the best book on Java 2D, this book covers all aspects of the 2D API and provides a Graphics framework for advanced 2D compositions:

http://www.amazon.com/exec/obidos/ASIN/0130142662/javaworld

"Getting Started with Java 2D," Bill Day, (JavaWorld, July 1998) -- an excellent introduction to the Java 2D API:
http://www.javaworld.com/javaworld/jw-07-1998/jw-07-media.html

"Programmer's Guide to the Java 2D API" (Sun Microsystems) -- a reference document on the 2D API:
ftp://ftp.java.sun.com/docs/j2se1.3/j2d-book.pdf

"Test Infect Your Enterprise JavaBeans," Michael T. Nygard and Tracie Karsjens (JavaWorld, May 26, 2000) -- how to use JUnit to test JavaBeans applications:
http://www.javaworld.com/javaworld/jw-05-2000/jw-0526-testinfect.html

"Automate Your Build Process Using Java and Ant," Michael Cymerman, (JavaWorld, October 20, 2000) -- learn to use Ant:
http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant.html

"Benefit from Platform-Independent Builds," Sanjay Mahapatra (JavaWorld, August 2000) for more on build processes and Ant:
http://www.javaworld.com/javaworld/jw-08-2000/jw-0804-builds.html

"Incremental Development with Ant and JUnit," Malcolm Davis, (developerWorks, November 2000) -- learn to integrate Ant and JUnit:
http://www-4.ibm.com/software/developer/library/j-ant/?dwzone=java

The Ant homepage: http://jakarta.apache.org/ant/

The JUnit homepage: http://junit.org




‚‡—Ÿ ÅÍߍƒ ♂–› ܗ
āÏß̈́ ͂…Š‚‹
123456789


Copyright 2001, Java World/International Data Group Inc./PC WORLD Iran. All rights reserved.


ĸ‡œ‹Í՜
ޟÁ ËÍߛ ÍË ÁÍ Ëߊ Í՜
:˟Ÿß˜ƒ ‚› āƒ Ã™Ô›

ŅÎÍÁ ‚ƒ ĸ™ŸŠ -
ŅÎÍÁ ‚ƒ -
ŅÎÍÁĸƒ -

ĸœ šßÔ ĸ™ŸŠ -
˂œ› -
ā‚…ß— -

ĸŠ… ĸ™ŸŠ -
Ãߙԛ -
ŋŸœ ĸŠ… ĸ•‚— āÎÁ˜Á ⃠-


:݂œ

:ڟœßͅ—™Á ŋ„

: ŗ͌ ݂œ

܃– ĸ‚Å›‹–
Á߂‡ ÍË Ä‚ˆ áߘ™Á ‚ƒ ĸŸ‚œŒĀ -ÜßÁ ś‹– Á߂‡ ÍË Ä‚ˆ
È ޟ…‹Šœ -ÝßË Å›‹– Á߂‡ ÍË Ä‚ˆ
È ق– ØÁ˝Á -Ýߋ ś‹– Á߂‡ ÍË Ä‚ˆ
È ق– ĸ‹Ÿßœ ⛂œÍƒ -Ý͂žˆ ś‹– Á߂‡ ÍË Ä‚ˆ