Glazed Lists Tutorial

Jesse Wilson


Links & Downloads


Table of Contents

1. Hello World
EventList, like ArrayList or Vector
JList, JComboBox and JTable: Components with models
A simple issue browser
So What?
2. Sorting, Tables & Sorting Tables
SortedList, a list transformation
Comparators, Comparable and SortedList
Using TableFormat to specify columns
The EventTableModel and TableComparatorChooser
So What?
3. Text Filtering
TextFilterator
FilterList, Matcher, and MatcherEditor
Adding the FilterList and a TextComponentMatcherEditor
So What?
4. TransformedList and UniqueList
ListEvents and ListEventAssembler
TransformedList and ListEvents
Eliminating duplicates with UniqueList
So What?
5. EventSelectionModel and Custom Filter Lists
EventSelectionModel
Custom filtering using Matchers
Dynamic filtering using MatcherEditors
So What?
6. Concurrency
Read/Write Locks
GlazedLists.threadSafeList
The Swing Event Dispatch Thread
Multithreading our IssuesBrowser
So What?
7. ThresholdList
ThresholdList
Implementing ThresholdList.Evaluator
A BoundedRangeModel
Other Models
So What?