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.

printing big Graphics2D & memory?

Thread view: 
Dado - 27 Jul 2005 13:23 GMT
My application shows the Graphics2D in a JPanel. It shows and print diagram.
I use class which extends JPanel implements Printable, on a classic, from
example, way.
It is usually 4 A4 papers big and it needs approx. 10MB/page. But sometimes
it can large on 10 pages and more when I got an outofmemory exception.
How to print so big Graphics on some less memory needed way ?
Is your Graphics component needs also 10MB/page for a printing? Is it normal
or I wrong somewhere?

Thank you.
Dado - 30 Jul 2005 08:26 GMT
> My application shows the Graphics2D in a JPanel. It shows and print
> diagram. I use class which extends JPanel implements Printable, on a
[quoted text clipped - 6 lines]
>
> Thank you.

If Graphics become Image I get the same size for printing but the quality is
not satisfied.


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.