🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #390

Re: printing jTable

#390
From: GEORGE
Date: Tue, 18 Oct 2005 17:05
28 lines
1600 bytes
Perhaps you are missing the print mode argument.

JTable.print(JTable.PrintMode.NORMAL)

or

JTable.print(JTable.PrintMode.FIT_WIDTH);

George


"Jacques Chaurette" <jacques.chaurette@sympatico.ca> wrote in message 
news:43551872@newsgroups.borland.com...
> Hello all and thanks in advance.
>
> I am trying to print a jTable, it seems there is a simple command 
> JTable.print(), if my table is called jTable1 then
> jTable1.print();  should do it.
>
> compiler does not agree and says cannot resolve symbol method. I have 
> import javax.swing.table.*; which should be sufficient to provide this 
> method. No doubt there is something terribly complicated that I am 
> missing.
>
> Cheers,
>
> Jacques
> 
Technical Details
Message-ID: <43552ab2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43551872@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,552d5146129265a4
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "GEORGE" <geo@nowhere.net>
Newsgroups: borland.public.jbuilder.java.swing
References: <43551872@newsgroups.borland.com>
Subject: Re: printing jTable
Date: Tue, 18 Oct 2005 13:05:19 -0400
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 70.21.195.199
Message-ID: <43552ab2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1129654962 70.21.195.199 (18 Oct 2005 10:02:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail