JDK-6297571 : Introduce default left(or right) alignment of table headers in native platforms
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0u2
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-07-15
  • Updated: 2010-04-02
  • Resolved: 2006-05-25
Related Reports
Duplicate :  
Description
Table header alignment should agree with the native platform l&f when applying the native platform l&f to the app. On Mac, Windows, and GTK  the default for native table headers is left aligned (for english locale). The Mustang JTable implementation for all L&F follows the  JLF - center alignment. Behavior for other locales should be investigated on the various platforms.

Once the compatibility API is introduced, this should be added to it.
###@###.### 2005-07-15 18:30:54 GMT

Comments
EVALUATION This was actually a bug, and it was fixed (at least for Windows) by 6389065. I've tested Windows and GTK and they both are left aligned. Ocean and Motif are centered. This is fine. Closing as a duplicate of 6389065.
25-05-2006