|
Quick Lists
|
|
Bug ID:
|
4925524
|
|
Votes
|
0
|
|
Synopsis
|
Update the JTable printing API based on early feedback.
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
tiger
|
|
Release Fixed
|
1.5(tiger-b28)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4791650
|
|
Submit Date
|
19-SEP-2003
|
|
Description
|
Early feedback on the JTable printing API (introduced by 4791650) suggests some changes that must be made prior to release.
First, there is concern with the behavior of the convenience methods JTable.print(xxx). It was known at the time of integration that these methods would block the GUI until printing was done. No solution was known at that time. Internal user feedback suggests that this will really annoy users, and luckily a fix has been determined. This fix involves showing a dialog and moving some of the processing to another thread.
The second item that has been suggested is to use the new enum facility for constants defined for JTable's printing modes. This can only ever be addressed prior to public release and needs to be done now.
|
|
Work Around
|
N/A
|
|
Evaluation
|
I submitted it, I'll fix it :)
xxxxx@xxxxx 2003-09-19
The printing mode integer constants have been replaced with a typesafe enum.
The print() methds have been improved significantly. Printing will now be driven from another thread (although still calling into the EDT for each page). This allows the EDT to remain responsive and process repaints.
While printing is ongoing, a modal dialog will be displayed to prevent user modification of the table, provide status about the printing progress, and allow the user to abort the printing.
xxxxx@xxxxx 2003-10-08
I have recently decided that showing this status dialog will be controlled by a new "interactive" parameter in the main print() method. The convenience methods will print interactively by default.
xxxxx@xxxxx 2003-10-10
An attempt to verify printing in headless mode failed. Two bugs have been filed on this: 4936074 and 4936867.
xxxxx@xxxxx 2003-10-14
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |