Table of Contents
You're going to create a simple app for browsing an Issuezilla bug
database. The annoying work like loading the issues data into Java has
been taken care of by the included issuezilla.jar
file. It'll parse an XML
file (or stream!) into
simple Issue
objects. If you'd prefer, substitute
Issuezilla with another data source. Regardless of what the data looks
like, we're going to sort, filter and transform it using Glazed
Lists.
First off, you'll write "Hello World" with
Glazed Lists by displaying issues data within a
JList
.
The EventList
interface extends the
familiar java.util.List
interface. This means it
has the same add()
, set()
and
remove()
methods found in
ArrayList
and
Vector
.
But there are some extra features in
EventList
:
Event listeners:
EventList
fires events when its modified to
keep your Swing models up-to-date.
Concurrency:
EventList
has locks so you can share it
between threads. You can worry about this later on.