JDK-4444978 : Win2000 L&F: JFileChooser: High-lighting
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: x86
  • Submitted: 2001-04-13
  • Updated: 2018-09-05
Related Reports
Relates :  
Relates :  
Description
The generic windows application highlights only upto the length of the 
high-lighted item in the combobox control (next to the label "Look in:" in the 
top-level toolbar of a FileChooser). This includes item being displayed as well as items in the dropdown portion. But in JFileChooser implementation, the entire line is getting high-lighted.

Build used: Merlin b60

Code used: FileChooserDemo that came with b60

Comments
EVALUATION This is a JList issue, and the workaround would be costly. Low severity. Fix later. leif.samuelsson@Eng 2001-05-18 As mentioned in 4501585, this same type of highlighting takes place in the file pane, and the difference is especially noticeable on XP. The native file dialog highlights only the text, and also displays a darkened icon. JFileChooser puts a blue background behind the text of the filename as well as the icon, and does not display the darkened icon. One other detail is that when the native file dialog loses focus, the file that was highlighted becomes highlighted with a sandy gray color (looks like the same color as the dialog's background) instead of blue. When a JFileChooser dialog loses focus, the highlighted file remains highlighted with blue. ###@###.### 2003-03-20 This bug should be closed as a duplicate of 4834223 when that bug is committed. ###@###.### 2003-03-20
20-03-2003