Can't change HTML List Bullet Color in JLabel, JButton, etc...

From: Vicky (VKS_at_fake.fake)
Date: 01/11/05


Date: Tue, 11 Jan 2005 02:06:51 GMT

Hi Group,

I'm writing HTML into a label.
I changed the background to black and now I'm in trouble.

There doesn't seem to be any way to get the bullets of <ol> or <ul> to
be anything but black.

An example I plugged into JButton and JLabel:

<HTML>BLAH
  <FONT color='#FF0000'>
    <OL>
      <LI>TEST</LI>
      <LI>TEST</LI>
      <LI>TEST</LI>
    </OL>
  </FONT>
</HTML>

All the list items were red, but the bullets were still black.

Styles have the same effect:

<HTML>BLAH
    <OL style='color:red'>
      <LI>TEST</LI>
      <LI>TEST</LI>
      <LI>TEST</LI>
    </OL>
</HTML>

also:

<HTML>BLAH
    <OL>
      <LI style='color:red'>TEST</LI>
      <LI style='color:red'>TEST</LI>
      <LI style='color:red'>TEST</LI>
    </OL>
</HTML>

Help?

-Vicky



Relevant Pages

  • Re: How to grey-out jButton with HTML in label
    ... > jButton is disabled, the label is not greyed-out in the usual way. ... You can simulate the effect of disabling by setting the foreground color ...
    (comp.lang.java.gui)
  • label vs button
    ... The only difference is in the use of JButton and JLabel, ... public static void main{ ... The version with label is (just to free you from editing the ...
    (comp.lang.java.gui)
  • Re: Template for Labels in WORD
    ... Yes there is a header/footer in my NORMAL.dot, I know this causes trouble ... I THOUGHT I had got rid of it when I striped the style, ... Please how do I get rid of the header footer? ... I used the "labels" in WORD 2003, XP, with the proper label. ...
    (microsoft.public.word.docmanagement)
  • Re: mkroot: label / not found
    ... > This morning I was working normally on my HP PIV PC with FC4. ... > installed and working without trouble for a couple of months. ... Sounds like you lost the label on your boot partition. ...
    (Fedora)
  • Re: USA airline security goes totally OTT again !
    ... I'm not a court of law. ... I can label them anything I ... The fact is that they were the cause of trouble, ...
    (sci.electronics.design)