United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4925524 : Update the JTable printing API based on early feedback.

Details
Type:
Bug
Submit Date:
2003-09-19
Status:
Resolved
Updated Date:
2003-11-03
Project Name:
JDK
Resolved Date:
2003-11-03
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (b28)

Related Reports
Relates:

Sub Tasks

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.

                                    

Comments
EVALUATION

I submitted it, I'll fix it :)
###@###.### 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.
###@###.### 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.
###@###.### 2003-10-10

An attempt to verify printing in headless mode failed. Two bugs have been filed on this: 4936074 and 4936867.
###@###.### 2003-10-14
                                     
2003-10-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger-beta

FIXED IN:
tiger-beta

INTEGRATED IN:
tiger-b28
tiger-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together