Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

I translate the 2D graphics object,  but it prints new and old graphics on each page

Thread view: 
ChooChooOnMyHead - 28 Jul 2005 17:58 GMT
I am drawing a schematic using Java2D and want to print it.  I want to
print it 3 pages wide by 3 pages long,  so I translate the 2D graphics
object with in relation to the current pageIndex.   It prints all 9
pages,  but they all have their own "section" of the schematic as well
as all past ones.   I dispose of the 2D graphics object,  so what else
am i missing?  Any ideas?  Thanks!
Ralph Macchio
Knute Johnson - 28 Jul 2005 21:02 GMT
> I am drawing a schematic using Java2D and want to print it.  I want to
> print it 3 pages wide by 3 pages long,  so I translate the 2D graphics
[quoted text clipped - 3 lines]
> am i missing?  Any ideas?  Thanks!
> Ralph Macchio

Some code might help identify the problem, but what about call
Grahpics.fillRect() and clearing the area.

knute...

email s/nospam/knute/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.