🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
6 messages
6 total messages Started by Jacques Chaurette Tue, 18 Oct 2005 15:47
printing jTable
#389
Author: Jacques Chaurette
Date: Tue, 18 Oct 2005 15:47
13 lines
1364 bytes
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 
Re: printing jTable
#390
Author: 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
> 
Re: printing jTable
#391
Author: Jacques Chaurette
Date: Tue, 18 Oct 2005 18:34
36 lines
1868 bytes
I get an compiler eror: " cannot resolve symbol..."
on PrintMode when I us these arguments.

J
"GEORGE" <geo@nowhere.net> wrote in message 
news:43552ab2$1@newsgroups.borland.com...
> 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
>>
>
> 
Re: printing jTable
#392
Author: Jacques Chaurette
Date: Tue, 18 Oct 2005 18:40
46 lines
2451 bytes
I think the problem is this is a 1.5 method and I am using SDK 1.4 for my 
applets. Do I have to upgrade JBuilder to get 1.5?

Jacques

J
"Jacques Chaurette" <jacques.chaurette@sympatico.ca> wrote in message 
news:43553f8a$1@newsgroups.borland.com...
>I get an compiler eror: " cannot resolve symbol..."
> on PrintMode when I us these arguments.
>
> J
> "GEORGE" <geo@nowhere.net> wrote in message 
> news:43552ab2$1@newsgroups.borland.com...
>> 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
>>>
>>
>>
>
> 
Re: printing jTable
#393
Author: GEORGE
Date: Tue, 18 Oct 2005 19:07
52 lines
2462 bytes
You can switch JDK from Tools | Configure |JDKs

"Jacques Chaurette" <jacques.chaurette@sympatico.ca> wrote in message 
news:435540e1$1@newsgroups.borland.com...
>I think the problem is this is a 1.5 method and I am using SDK 1.4 for my 
>applets. Do I have to upgrade JBuilder to get 1.5?
>
> Jacques
>
> J
> "Jacques Chaurette" <jacques.chaurette@sympatico.ca> wrote in message 
> news:43553f8a$1@newsgroups.borland.com...
>>I get an compiler eror: " cannot resolve symbol..."
>> on PrintMode when I us these arguments.
>>
>> J
>> "GEORGE" <geo@nowhere.net> wrote in message 
>> news:43552ab2$1@newsgroups.borland.com...
>>> 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
>>>>
>>>
>>>
>>
>>
>
> 
Re: printing jTable
#394
Author: Lori M Olson [TeamB]
Date: Tue, 18 Oct 2005 19:18
32 lines
2133 bytes
GEORGE wrote:
> You can switch JDK from Tools | Configure |JDKs
> 
> "Jacques Chaurette" <jacques.chaurette@sympatico.ca> wrote in message 
> news:435540e1$1@newsgroups.borland.com...
> 
>>I think the problem is this is a 1.5 method and I am using SDK 1.4 for my 
>>applets. Do I have to upgrade JBuilder to get 1.5?
>>
>>Jacques
>>

Using JDK 1.5 as a project JDK is supported in JB2005 and JB2006.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads