0

I need use ascii character as a bullet point with html content in swing application. I found this article and it works with browser exactly i want but not with java. I suppose that css tags won't supported in java according to this. May be i'm wrong.

I like to know is there a workaround for this. Another constrain that i have is not to use images as bullet points. Thanks in advance.

chAmi
  • 1,774
  • 3
  • 20
  • 27
  • for full HTML5 support I'd suggest integrating your Swing application with JavaFX `WebView`. see here for an example: http://stackoverflow.com/a/13718130/1133011 – David Kroukamp Dec 05 '12 at 07:34

2 Answers2

1

would HTML entities work?

  • • •
SMillerNL
  • 103
  • 8
0

you can do like this:

styleSheet.addRule("ul{list-style-type:circle;margin:0px 20px;}");
Ravindra Bagale
  • 17,226
  • 9
  • 43
  • 70
  • That'll add the circle type bullet. But i need more than that like having ascii character as the bullet. Like in the article i said. – chAmi Dec 04 '12 at 15:34