HTML « Graphics « Java Swing Q&A





1. Exporting from Java Swing/Graphics to HTML    stackoverflow.com

I wrote small java Swing/canvas program where I can draw some textboxes. Now I'd like to export those text areas to a set of HTML div. What would be the best way (font-family ...

2. Rendering Java Graphics to HTML    stackoverflow.com

I have a Swing Graphics2D object which I would like to render to HTML/JS/CSS. Is there a library or other way to do this? I'm thinking of something similar to iText for ...

3. Html hr color    java-forums.org

I am trying to draw a horizontal line in a JLabel using HTML's HR (horizontal rule) element. It works fine, but the color attribute (COLOR=BLUE) doesn't seem to work. Here's the line of HTML:


Any ideas why this doesn't work with respect to color? All the other attributes work just fine. Is there a better ...