| Demo of SimpleORM in a Swing Environment. Currently
mainly just plays with Swing classes, but will be a generalized
interface for editing any tables data. The tricky part is foreign
keys and lookups.
Also note that the nasty way that Swing handles threads complicates
the common case of a single threaded program. In the normal pattern,
the main thread sets up the forms, and then exits. A second thread
then does the work. A single threaded application using two threads!
This application uses invokeAndWait() to do all the work
in the Swing thread, which is much cleaner.
|