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


Groups > comp.lang.java.gui > #133

Re: line breaks in Jlabel

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: line breaks in Jlabel
Message-ID <1163782133.724762.139460@k70g2000cwa.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1163775984.723494.48260@k70g2000cwa.googlegroups.com>
Date 2011-04-27 15:25 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
TrevorBoydSmith@gmail.com wrote:
...
> Does the JLabel class support line breaks by using the '\n' or '\r\n'
> characters??  (My theory is that if I can use these characters instead
> of html, then the gui would not get messed up when the user resizes a
> window)

Did the results of your simple test, support your theory?

Andrew T.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

line breaks in Jlabel w/o "TrevorBoydSmith" <trevorboydsmith@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
  Re: line breaks in Jlabel "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000

csiph-web