Package com.cburch.logisim.util

Examples of com.cburch.logisim.util.TableSorter


    super(parent, true);
    setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    setTitle(Strings.get("statsDialogTitle", circuitName));
   
    JTable table = new StatisticsTable();
    TableSorter mySorter = new TableSorter(model, table.getTableHeader());
    Comparator<String> comp = new CompareString("",
        Strings.get("statsTotalWithout"), Strings.get("statsTotalWith"));
    mySorter.setColumnComparator(String.class, comp);
    table.setModel(mySorter);
    JScrollPane tablePane = new JScrollPane(table);
   
    JButton button = new JButton(Strings.get("statsCloseButton"));
    button.addActionListener(this);
View Full Code Here


        super(parent, true);
        setDefaultCloseOperation(DISPOSE_ON_CLOSE);
        setTitle(getFromLocale("statsDialogTitle", circuitName));

        JTable table = new StatisticsTable();
        TableSorter mySorter = new TableSorter(model, table.getTableHeader());
        Comparator<String> comp = new CompareString("",
                getFromLocale("statsTotalWithout"), getFromLocale("statsTotalWith"));
        mySorter.setColumnComparator(String.class, comp);
        table.setModel(mySorter);
        JScrollPane tablePane = new JScrollPane(table);

        JButton button = new JButton(getFromLocale("statsCloseButton"));
        button.addActionListener(this);
View Full Code Here

TOP

Related Classes of com.cburch.logisim.util.TableSorter

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.