well with the new statusbar you could settle for showing more than one scale, 
several lines with the topmost the default ;)

..ede

On 10.04.2013 12:03, Giuseppe Aruta wrote:
> Hi Ede,
> I tried textual hint but I was not satisfied of it.
> thanks for suggestions
> 
> <peppe
> 
> 
> 2013/4/10 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>>
> 
>     On 10.04.2013 09:37, Giuseppe Aruta wrote:
>     > Hi all,
>     > color text of messages on status bar is always black. Is there a way to 
> use other colors, ex. red? I want to use on my measure plugin in order to 
> show user if plugin is using JTS (under metric coordinates) or other 
> libraries (ex. Vincenty's formula, under geographic coordinates).
>     > regards and thanks for the answer
>     >
> 
>     first why use another color? readability is probably best with black. you 
> could as well give a textual hint.
> 
>     if you really want it, do it.
>     1. use something like "<html><body style="background-color:black"><span 
> style="color:white">test</span></body><html>".
>     2. if you feel hackish add a WorkbenchFrame.setScaleText(String 
> text,Color fg,Color bg) method that does that all the time
>     3. if you want the whole label background to be colored differently, set 
> the bgcolor of the JLabel itself in the method mentioned in 2
> 
>     ..ede
> 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to