Henner,
Would it be possible to have a small icon displayed in the list instead,
maybe a green tick or a red cross? I just showed it to a colleague of mine
and the poor blokes colour blind, couldn't see a thing. If you do make the
change just be aware that I'm using your renderer for the drivers combobox
in the Alias Maintenance dialog as well.
Col
-----Original Message-----
From: Johan Compagner [mailto:jco...@j-...]
Sent: Wednesday, 20 February 2002 7:33
To: SQuirreL list
Subject: Re: [Squirrel-sql-develop] Feature Patch: colored driver loaded
state.
hmmm
I find the colors a bit ugly :-(
Make it configurable or even better.. let me choose that i don't want
to use colors bug gray it out.. (Bold->Driver found->grayed text-> Driver
not found)
johan
>
> 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
>
_______________________________________________
Squirrel-sql-develop mailing list
Squ...@li...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
|