: Customizing the tab showing a TopComponent in Editor mode
Good suggestions. Thanks. Turns out that after another Clean & Build, html
color markups are working again in the default platform tabs.
Regards,
Stephen Cumminger
From: Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com.INV
he.org<mailto:users@netbeans.apache.org>
Subject: Re: Customizing the tab showing a TopComponent in Editor mode
On Thu, 19 Jul 2018 at 14:16, stephen cumminger
mailto:stephen.cummin...@sonideft.com>> wrote:
> String toreturn= ""+prefix+" COLOR=RED>&
the opened documents, I wanted it very clear visually which
> document is being viewed/modified in the singleton.
>
> Regards,
>
>
> Stephen Cumminger
>
>
> -Original Message-
> From: Neil C Smith
> Sent: Friday, July 20, 2018 6:13 AM
> To: stephen cumming
n cumminger ;
users@netbeans.apache.org
Subject: Re: Customizing the tab showing a TopComponent in Editor mode
On Thu, 19 Jul 2018 at 14:16, stephen cumminger
wrote:
> String toreturn= ""+prefix+" COLOR=RED>"+super.getDisplayName()+"";
On Thu, 19 Jul 2018 at 14:16, stephen cumminger
wrote:
> String toreturn= ""+prefix+" COLOR=RED>"+super.getDisplayName()+"";
Have you tried ?
>From recollection it uses this -
http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/HtmlRenderer.html
Best wishes,
Neil
-
; detail.php?file=./javaSource/com.jgoodies/jgoodies-looks/2.
> 7.0/com/jgoodies/looks/plastic/PlasticTabbedPaneUI.java&key=
> fdbff8687fce223e862172363d7ac040
>
>
>
>
>
>
>
> *Stephen Cumminger*
>
>
>
> *From:* stephen cumminger
> *Sent:*
nger
Sent: Thursday, July 19, 2018 10:16 AM
To: users@netbeans.apache.org
Subject: Customizing the tab showing a TopComponent in Editor mode
I'd like to change the appearance of the tab used to show a TopComponent in the
Editor mode. I have been trying to use basic HTML markup to change the
I'd like to change the appearance of the tab used to show a TopComponent in the
Editor mode. I have been trying to use basic HTML markup to change the color of
the text displayed by over-riding this method of the TopComponent:
@Override
public String getHtmlDisplayName()
{
String p