#61 no tech table below the stat panel tab

closed-fixed
nobody
None
5
2013-02-16
2012-11-27
Fabio Henrique
No

If the property Tech Development is false, do not show the tech table below the stat panel tab.

I changed:

table = new JTable(m_techModel);
table.getTableHeader().setReorderingAllowed(false);
column = table.getColumnModel().getColumn(0);
column.setPreferredWidth(500);
scroll = new JScrollPane(table);
add(scroll);

to

if (Properties.getTechDevelopment(m_data))
{
table = new JTable(m_techModel);
table.getTableHeader().setReorderingAllowed(false);
column = table.getColumnModel().getColumn(0);
column.setPreferredWidth(500);
scroll = new JScrollPane(table);
add(scroll);
}

Discussion

  • Fabio Henrique
    Fabio Henrique
    2012-11-27

     
    Attachments
  • Chris Duncan
    Chris Duncan
    2013-02-16

    We ended up doing something better than this.

     
  • Chris Duncan
    Chris Duncan
    2013-02-16

    • status: open --> closed-fixed