Changeset 21993

Show
Ignore:
Timestamp:
29.04.2010 14:59:29 (9 years ago)
Author:
sjm84
Message:

JTable grid lines are white by default on Mac (making them invisible), they have now been explicitly set to black

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/admin/guiext/PropertiesStep.java

    r21919 r21993  
    1919 
    2020import java.awt.BorderLayout; 
     21import java.awt.Color; 
    2122import java.awt.Font; 
    2223import java.awt.GridLayout; 
     
    114115 
    115116        JTable propertiesTable = new JTable(new CustomTableModel(new String[]{"Setting", "Value"}, options)); 
    116          
     117        //The line below is necessary as the default grid colour on mac is white, which makes the lines invisible. 
     118        propertiesTable.setGridColor(Color.BLACK); 
     119 
    117120        if(_tables[i] == null){ 
    118121            _tables[i] = propertiesTable;