Package com.kolakcc.loljclient.model.swing

Examples of com.kolakcc.loljclient.model.swing.RunePageTableModel


public class RunePagePanel extends JPanel {
  public RunePagePanel(RunePage runePage) {
    super(new BorderLayout());

    JTable runesTable = new JTable();
    RunePageTableModel model = new RunePageTableModel(runePage.getSlots());
    runesTable.setModel(model);
   
    TableColumnAdjuster columnAdjuster = new TableColumnAdjuster(runesTable);
    int slotLength = Math.max(columnAdjuster.getColumnDataWidth(0), columnAdjuster.getColumnHeaderWidth(0));
    runesTable.getColumnModel().getColumn(0).setMaxWidth(slotLength);
View Full Code Here

TOP

Related Classes of com.kolakcc.loljclient.model.swing.RunePageTableModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.