JDK-4461329 : JColorChooser getPreviewPanel returns null.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-05-21
  • Updated: 2002-05-14
  • Resolved: 2002-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1 hopperFixed
Related Reports
Relates :  
Description
Source code and a script are attached.  Edit the script X.ksh to aim JAVA_HOME,
then execute.

If you see the line "Preview panel is null?" on standard out, that is the bug.
The method getPreviewPanel() in javax.swing.JColorChooser is returning null.
But, the preview panel is visible to the eye, so something must be wrong.

allan.jacobs@Eng 2001-05-21

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper VERIFIED IN: hopper
14-06-2004

EVALUATION From Allan: The bug is important post-Merlin. We are going to be writing an API to automate manual testing using Robot. The bug is in the way of this strategy. scott.violet@eng 2001-07-12 Fix: getPreviewPanel now returns the default panel which is created by the UI class. ###@###.### 2002-04-12
12-07-2001