Package org.xnap.commons.gui.table

Examples of org.xnap.commons.gui.table.TableLayout


   
    tablePopupMenu = new JPopupMenu();
   
    TableSorter sorter = new TableSorter(getTableModel());
    queueTable = new ColoredTable(sorter);
    queueTableLayout = new TableLayout(queueTable);
    initializeTableLayout();
    queueTableLayout.getHeaderPopupMenu().add(new JMenuItem(resetQueueTableAction));
    add(new JScrollPane(queueTable), BorderLayout.CENTER);

    queueTable.setShowVerticalLines(true);
View Full Code Here


    jobTable.setShowVerticalLines(true);
    jobTable.setShowHorizontalLines(false);
    jobTable.setAutoCreateColumnsFromModel(true);
    jobTable.setIntercellSpacing(new java.awt.Dimension(2, 1));
    jobTable.setDefaultRenderer(Object.class, new ValueTableCellRenderer());
    jobTableLayout = new TableLayout(jobTable);
    jobTableLayout.setColumnProperties(0, "key", 200);
    jobTableLayout.setColumnProperties(1, "value", 150);
    jobTableLayout.setMaintainSortOrder(true);
    jobTableLayout.sortByColumn(0, TableSorter.Order.ASCENDING, false);
    setMainComponent(new JScrollPane(jobTable));
View Full Code Here

TOP

Related Classes of org.xnap.commons.gui.table.TableLayout

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.