[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/28696] JToolTip should support HTML
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug swing/28696] JToolTip should support HTML |
Date: |
18 Aug 2006 08:28:38 -0000 |
------- Comment #5 from hendrich at informatik dot uni-hamburg dot de
2006-08-18 08:28 -------
(In reply to comment #4)
> Subject: Bug 28696
> Changes by: Roman Kennke <rabbit78> 06/08/13 21:33:59
>
> Modified files:
> javax/swing/plaf/basic: BasicHTML.java BasicToolTipUI.java
> javax/swing/plaf/metal: MetalToolTipUI.java
The HTML support seems to work pretty well for all of my test cases now.
However, the tooltip contents are still cached and not modified when the
underlying component changes the tooltip later on via setToolTipText().
Two more nitpicks:
1) the JDK uses the same font for 'plain' and HTML tooltips, while
classpath seems to use Courier for HTML. This actually looks better
for some of my examples, but not for all. I suggest to default
to Helvetica/Arial/Dialog or whatever the UI uses as its default
font.
2) The HTML parser seems to suppress extra blank lines via constructs
like <html><body>first line<br><br>thrid line<br></body></html>
or <html><body><p>first paragraph</p> <p></p><p>third paragraph</p>...
A paragraph consisting of a single space should not be blank, or should
it? For a demo, see the Niffler about dialog.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28696
- [Bug swing/28696] New: JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, roman at kennke dot org, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, cvs-commit at developer dot classpath dot org, 2006/08/13
- [Bug swing/28696] JToolTip should support HTML,
hendrich at informatik dot uni-hamburg dot de <=
- [Bug swing/28696] JToolTip should support HTML, roman at kennke dot org, 2006/08/18