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


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

Re: printing a JLabel tex

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: printing a JLabel tex
Message-ID <46hb1493tkvt0ctm7eskdbl30um8j7dl9o@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <5FnQj.22926$o06.3990@tornado.fastwebnet.it>
Date 2011-04-27 15:44 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Fri, 25 Apr 2008 18:28:47 +0200, magowiz
<magowizNOSPAM@fastwebnet.it> wrote, quoted or indirectly quoted
someone who said :

>I'm trying to understand how to print a JLabel text above a JTable.
>Since the JLabel text is quite long ( 1 or 2 rows) the JTable print 
>method with the two MessageFormat gives me the header in a too big 
>character size and so the text gets truncated.
>I tried also with fjreport library but in this case I got the column 
>size reduced and I got the data on it truncated.
>I would like to know how I can work it out.

Either use two JLabels or use <br> to split the line
-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * 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 | Next in thread | Find similar | Unroll thread


Thread

printing a JLabel text ab "magowiz" <magowiz@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
  Re: printing a JLabel tex "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
    Re: printing a JLabel tex "magowiz" <magowiz@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
  Re: printing a JLabel tex "magowiz" <magowiz@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
    Re: printing a JLabel tex "magowiz" <magowiz@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000

csiph-web