columnNames in JTable is mapped to wrong font on Solaris.
This can be reproduced with the attached GlobalSuite test case jTable.java.
This was first noticed when test in th_TH locale, the test case set to use Lucida Sans Regular font, which has all the Thai glyphs, but when displayed, the column names shown as empty rectangle (empty char), while the entries unter column names display correctly.
With same test case:
When in Hebrew (he) locale, they displayed fine.
When in Arabic (ar) locale, English part displayed, but other part also in empty rectangle.
When in en_US, it's like in Arabic locale.
When the same test case run on Win2000, in Thai locale, the column names display correctly, althogh size is much smaller than the entries. And this is the expected behavior, because the table is set to use the same font.
minchi.tien@eng 2001-02-01
This can be reproduced with the attached GlobalSuite test case jTable.java.
This was first noticed when test in th_TH locale, the test case set to use Lucida Sans Regular font, which has all the Thai glyphs, but when displayed, the column names shown as empty rectangle (empty char), while the entries unter column names display correctly.
With same test case:
When in Hebrew (he) locale, they displayed fine.
When in Arabic (ar) locale, English part displayed, but other part also in empty rectangle.
When in en_US, it's like in Arabic locale.
When the same test case run on Win2000, in Thai locale, the column names display correctly, althogh size is much smaller than the entries. And this is the expected behavior, because the table is set to use the same font.
minchi.tien@eng 2001-02-01