Drawing HTML JLabels on Graphics
From: Karsten Wutzke (kwutzke-blahblah_at_emporis.com)
Date: 02/29/04
- Next message: Advocated: "Re: Java and mysql together"
- Previous message: Christian Kaufhold: "Re: how to get top right (x, y) position of the caret"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Feb 2004 14:07:26 +0100
Hi all!
I'm currently successfully drawing a graph and strings onto a Graphics2D
object. However, the strings contain indices, like w1(x) or TA1, where
the numbers are displayed as subscipts (HTML <sub> tag). I use this sub
tag for creating JLabels, so in any other GUI, the indices appear lowered.
Now the question is:
How do I create the same effect for a Graphics2D object?
Is there any way to make use of the JLabels HTML rendering code?
Thanks for helping!
Karsten Wutzke
- Next message: Advocated: "Re: Java and mysql together"
- Previous message: Christian Kaufhold: "Re: how to get top right (x, y) position of the caret"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|