JDK-4501652 : Attributes of columns should not depend on the position. (JFileChooser)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2001-09-11
  • Updated: 2004-06-15
  • Resolved: 2004-06-15
Related Reports
Duplicate :  
Relates :  
Description
In Metal L&F, rearranging columns in a detailed list of FileChooser exchanges not only the places of two cells but also their attributes.
For instance, in Metal L&F FileChooser, Name field is left-aligned and Size is right-aligned.  If I drag Name field and drop it between Name field and Type field, Name field becomes right-aligned and Size left-aligned.

Due to 4501171, I can't confirm Windows L&F FileChooser's behavior but it must have same problem.
Motif L&F FileChooser doesn't have this problem because it doesn't have a detalied list.

Comments
EVALUATION Currently, this looks like it will be fixed as a side effect of fixing 4521075. If it is, I'll close this as a duplicate. ###@###.### 2004-05-18 The problem here was that FilePane was forgetting to convert the view index into model co-ordinates before applying attributes. This will be corrected in the fix for 5061361. Closing as a duplicate. ###@###.### 2004-06-10
10-06-2004