Table of Contents
Now that you've got "Hello World" out of the
way, it's time to see Glazed Lists shine. You'll upgrade the
JList
to a JTable
and let
your users sort by clicking on the column headers.
SortedList
is a decorator that shows a
source EventList
in sorted order. Every
TransformedList
including
SortedList
listens for change events from a
source EventList
. When that source is changed,
the TransformedList
changes itself in response.
By layering TransformedList
s like
SortedList
and FilterList
you can create flexible and powerful programs with ease.