Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37354

how to convert html?

Newsgroups comp.lang.java.programmer
Date 2017-08-30 07:03 -0700
Message-ID <1d4eecd0-a437-4541-841a-4cba7fef7380@googlegroups.com> (permalink)
Subject how to convert html?
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


I am generating a printout from a GUI screen.  Now I want to see if I can somehow incorporate the tooltips.
I can call setToolTipText on my components and the Java somehow converts this.  Text may be "tool tip text" or may be "<html>line one<br/>line two</html>".
I can't see where it converts it but it does display the html text simply as 2 lines of plain text.
I tried searching for how to make my tooltips into printable text as you see on the screen and can't find anything easy, so I'm either hard coding to parse out the html strings, or including a third party html jar to run it through like JTidy or JSoup.  Somehow this is built into tooltips, so there has to be an easier way.

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-30 07:03 -0700
  Re: how to convert html? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-08-30 10:59 -0500
    Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-30 11:41 -0700
      Re: how to convert html? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-08-30 14:52 -0500
        Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-30 14:00 -0700
          Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-31 05:47 -0700
            Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-31 05:56 -0700
              Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-31 07:12 -0700
                Re: how to convert html? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-08-31 13:20 -0500
                Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-31 11:49 -0700
                Re: how to convert html? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-08-31 14:52 -0500
                Re: how to convert html? Eric Douglas <e.d.programmer@gmail.com> - 2017-08-31 13:37 -0700

csiph-web