-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6
-
sparc
-
solaris_10
In UpdateManager, I was displaying the "Sun logo" on a JPanel and then adding a JTabbedPane to the panel.
The logo ended up being displayed "behind" the tabs.
When I ran UM using the latest jdk 1.6 I cound find (java full version "1.6.0-rc-b102"), the image did
not appear.
I found that the default "opaque" value of the JPanel was now "true". Using jdk1.5, its "false". So if
I explicitly change my code and add 'setOpaque(false)' when the JPanel is created, my image shows up as
I would expect.
However, this would appear to be a regression since the default value changed and certain applications
may not display correctly.
I've included a test program in the attachments as well as the background image used and 2 screenshots
of the results, one when using jdk 1.5, the other when usring jdk 1.6.
The logo ended up being displayed "behind" the tabs.
When I ran UM using the latest jdk 1.6 I cound find (java full version "1.6.0-rc-b102"), the image did
not appear.
I found that the default "opaque" value of the JPanel was now "true". Using jdk1.5, its "false". So if
I explicitly change my code and add 'setOpaque(false)' when the JPanel is created, my image shows up as
I would expect.
However, this would appear to be a regression since the default value changed and certain applications
may not display correctly.
I've included a test program in the attachments as well as the background image used and 2 screenshots
of the results, one when using jdk 1.5, the other when usring jdk 1.6.