Hi! When i was trying to print JTable with values.. I am facing severe problems . Even though the table contains 3 or 4 rows, when i give for printing the size of the file grows to 6 to 10 MB and takes too much time to print (more than 30 mts). I am using jdk1.3 and the printer is HP. how can overcome this problem? thanks in advance.
Bala Hari
Greenhorn
Joined: Nov 14, 2001
Posts: 7
posted
0
hai, You need to disable the doublebuffering before printing your component. RepaintManager.currentManager(jtable)DoubleBufferingEnabled(false);
So try setting the above line before you are painting the jtable. Regards, Bala.
Please re-register with a user name that follows the conventions of the Official JavaRanch UserName Convention. Your username needs to be in the format "First Name" + space + "Last Name".
Thanks,
-Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.