Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5011712
Votes 0
Synopsis XP L&F: FileChooser toolbar icons when enabled not same as native file dialog
Category java:classes_swing
Reported Against tiger-beta2
Release Fixed mustang(b56)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs 5013152
Submit Date 11-MAR-2004
Description
JFileChooser toolbar icons in windows l&f(Windows XP) should be more neat like 
in native windows XP file dialog toolbar icon.
Consider attach image: FC_Win_IconsEnabledCmp.PNG
Following are the images which have considerable amount of difference:
1) Icon "Up one level": In native icon green colored arrow finishing is pretty  customer  and gives  customer  effect unlike the one used in java.
2) Icon "Create new folder": this icon in java have much more prominent splash than the one in native.

  xxxxx@xxxxx   2004-03-11

--------------------------
As per the discussion with Leif, modified to make it only for enabled icons,
and filed separate bug for image difference when button is disabled ( 5013152 ).

  xxxxx@xxxxx   2004-03-14
Work Around
N/A
Evaluation
Will try to address for next release.
  xxxxx@xxxxx   2004-03-15
The root problem has been discovered to be that code in the native C function Java_sun_awt_shell_Win32ShellFolder2_getFileChooserBitmapBits in the C++ class ShellFolder2.cpp is removing the alpha channel because it thinks it is dealing with lower bpp bitmaps.  I have changed the code to only strip out the alpha channel if the bits per pixel is less than 32.
Posted Date : 2005-09-13 23:20:12.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang