FileDocCategorySizeDatePackage
CharacterTracker.javaAPI DocExample1586Sat Apr 17 23:31:34 BST 2004javathreads.examples.ch08.example4

CharacterTracker

public class CharacterTracker extends JPanel

Fields Summary
private CharCounter
counter
private AbstractTableModel
model
private static String[]
colName
private static int[]
charAt
Constructors Summary
public CharacterTracker(CharCounter cc)

        counter = cc;
        model = new CharacterTrackerModel();
        counter.addModel(model);
        setLayout(new BorderLayout());
        JScrollPane jsp = new JScrollPane(new JTable(model));
        add(jsp, BorderLayout.CENTER);
    
Methods Summary