Hi,
Sometimes I start up Squirrel and find out, that I didn't include the
appropriate drivers in the classpath. But the only way to find out, is to
actually connect to some database and get the 'no suitable driver'
exception. It would be nice to have some visual notification up-front so
that one knows whether drivers are loaded or not.
So I changed the ListCellRenderer for the Drivers in a way, that it
displays drivers, that couldn't be loaded, in red; in green otherwise. Had
to change the ISQLDriver accordingly (isClassLoaded(), setClassLoaded()).
IMHO this enhances the already well done UI of squirrel ..
see attached patch against current CVS.
my 2c,
-hen
|