Package com.compomics.util.gui.renderers

Examples of com.compomics.util.gui.renderers.AlignedTableCellRenderer


        // remove the column header in the ptm table
        ptmsTableScrollPane.setColumnHeaderView(null);

        // cell renderers
        ptmSiteTable.getColumn("").setCellRenderer(new AlignedTableCellRenderer(SwingConstants.CENTER, Color.LIGHT_GRAY));

        for (int i = 1; i < ptmSiteTable.getColumnCount(); i++) {
            ptmSiteTable.getColumn(ptmSiteTable.getColumnName(i)).setCellRenderer(new NimbusCheckBoxRenderer());
        }

        ptmsTable.getColumn("").setCellRenderer(new AlignedTableCellRenderer(SwingConstants.CENTER, Color.LIGHT_GRAY));

        ptmSiteTable.getColumn("").setMinWidth(35);
        ptmSiteTable.getColumn("").setMaxWidth(35);
        ptmsTable.getColumn("").setMinWidth(35);
        ptmsTable.getColumn("").setMaxWidth(35);
View Full Code Here

TOP

Related Classes of com.compomics.util.gui.renderers.AlignedTableCellRenderer

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.