InlineView with pre-wrap

Discussion in 'Java' started by Jan Burse, Jun 14, 2013.

  1. Jan Burse

    Jan Burse Guest

    Dear All,

    Just looking at the source of

    package javax.swing.text.html;
    public class InlineView extends LabelView {

    from JDK 1.7.0_21. It seems to support

    CSS.Attribute.WHITE_SPACE
    nowrap

    Any implementation around that supports pre-wrap (*)?

    Bye

    http://www.w3schools.com/CSSref/pr_text_white-space.asp
    "pre-wrap Whitespace is preserved by the browser. Text will wrap when
    necessary, and on line breaks"
    Jan Burse, Jun 14, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jimbo

    Word Wrap in <PRE> ?

    Jimbo, Apr 15, 2005, in forum: HTML
    Replies:
    19
    Views:
    25,635
    Steve Pugh
    Apr 25, 2005
  2. Aaron Fude

    To wrap or not to wrap?

    Aaron Fude, May 8, 2008, in forum: Java
    Replies:
    12
    Views:
    695
    Chronic Philharmonic
    May 10, 2008
  3. gabriele renzi
    Replies:
    1
    Views:
    144
    Mauricio Fernández
    Jun 1, 2004
  4. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 22, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    228
    Art Werschulz
    Sep 22, 2003
  5. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 24, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    244
    Anno Siegel
    Sep 25, 2003
Loading...

Share This Page