Changeset 21993 for main


Ignore:
Timestamp:
2010-04-29T14:59:29+12:00 (14 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

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.