Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Re: printing a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 9673 of 9959
Post > Topic >>

Re: printing a JLabel text above a JTable

by Roedy Green <see_website@[EMAIL PROTECTED] > Apr 28, 2008 at 12:36 PM

On Fri, 25 Apr 2008 18:28:47 +0200, magowiz
<magowizNOSPAM@[EMAIL PROTECTED]
> 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 fjre****t 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
 




 5 Posts in Topic:
printing a JLabel text above a JTable
magowiz <magowizNOSPAM  2008-04-25 18:28:47 
Re: printing a JLabel text above a JTable
Roedy Green <see_websi  2008-04-28 12:36:49 
Re: printing a JLabel text above a JTable
magowiz <magowizNOSPAM  2008-04-29 15:12:55 
Re: printing a JLabel text above a JTable
magowiz <magowizNOSPAM  2008-04-29 15:34:59 
Re: printing a JLabel text above a JTable
magowiz <magowizNOSPAM  2008-04-29 16:24:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 13:45:47 CDT 2008.