Package org.xnap.commons.gui

Examples of org.xnap.commons.gui.ColoredTable


    resetQueueTableAction = new ResetQueueTableAction();
   
    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);
View Full Code Here


    tablePopupMenu.addSeparator();   
    tablePopupMenu.add(Builder.createMenuItem(deleteAction));

    contactTableModel = new AddressTableModel();
    TableSorter sorter = new TableSorter(contactTableModel);
    contactTable = new ColoredTable(sorter);
    contactTableLayoutManager = new TableLayoutManager(contactTable);
    contactTableLayoutManager.addColumnProperties("displayName", "", 180, true);
    contactTableLayoutManager.addColumnProperties("company", "", 80, true);
    contactTableLayoutManager.addColumnProperties("faxNumber", "", 60, true);
    contactTableLayoutManager.initializeTableLayout();
View Full Code Here

  }
 
  private void initialize() {
    jobTableModel = new KeyValueTableModel();
    TableSorter sorter = new TableSorter(jobTableModel);
    jobTable = new ColoredTable(sorter);
    jobTable.setShowVerticalLines(true);
    jobTable.setShowHorizontalLines(false);
    jobTable.setAutoCreateColumnsFromModel(true);
    jobTable.setIntercellSpacing(new java.awt.Dimension(2, 1));
    jobTable.setDefaultRenderer(Object.class, new ValueTableCellRenderer());
View Full Code Here

TOP

Related Classes of org.xnap.commons.gui.ColoredTable

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.