printing jTable  
Author Message
Jacques Chaurette





PostPosted: 2005-10-18 23:48:00 Top

java-programmer, printing jTable 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


 
GEORGE





PostPosted: 2005-10-19 1:05:00 Top

java-programmer >> printing jTable Perhaps you are missing the print mode argument.

JTable.print(JTable.PrintMode.NORMAL)

or

JTable.print(JTable.PrintMode.FIT_WIDTH);

George


"Jacques Chaurette" <email***@***.com> wrote in message
news:email***@***.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
>


 
Jacques Chaurette





PostPosted: 2005-10-19 2:34:00 Top

java-programmer >> printing jTable I get an compiler eror: " cannot resolve symbol..."
on PrintMode when I us these arguments.

J
"GEORGE" <email***@***.com> wrote in message
news:43552ab2$email***@***.com...
> Perhaps you are missing the print mode argument.
>
> JTable.print(JTable.PrintMode.NORMAL)
>
> or
>
> JTable.print(JTable.PrintMode.FIT_WIDTH);
>
> George
>
>
> "Jacques Chaurette" <email***@***.com> wrote in message
> news:email***@***.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
>>
>
>


 
 
Jacques Chaurette





PostPosted: 2005-10-19 2:40:00 Top

java-programmer >> printing jTable 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" <email***@***.com> wrote in message
news:43553f8a$email***@***.com...
>I get an compiler eror: " cannot resolve symbol..."
> on PrintMode when I us these arguments.
>
> J
> "GEORGE" <email***@***.com> wrote in message
> news:43552ab2$email***@***.com...
>> Perhaps you are missing the print mode argument.
>>
>> JTable.print(JTable.PrintMode.NORMAL)
>>
>> or
>>
>> JTable.print(JTable.PrintMode.FIT_WIDTH);
>>
>> George
>>
>>
>> "Jacques Chaurette" <email***@***.com> wrote in message
>> news:email***@***.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
>>>
>>
>>
>
>


 
 
GEORGE





PostPosted: 2005-10-19 3:08:00 Top

java-programmer >> printing jTable You can switch JDK from Tools | Configure |JDKs

"Jacques Chaurette" <email***@***.com> wrote in message
news:435540e1$email***@***.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" <email***@***.com> wrote in message
> news:43553f8a$email***@***.com...
>>I get an compiler eror: " cannot resolve symbol..."
>> on PrintMode when I us these arguments.
>>
>> J
>> "GEORGE" <email***@***.com> wrote in message
>> news:43552ab2$email***@***.com...
>>> Perhaps you are missing the print mode argument.
>>>
>>> JTable.print(JTable.PrintMode.NORMAL)
>>>
>>> or
>>>
>>> JTable.print(JTable.PrintMode.FIT_WIDTH);
>>>
>>> George
>>>
>>>
>>> "Jacques Chaurette" <email***@***.com> wrote in message
>>> news:email***@***.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
>>>>
>>>
>>>
>>
>>
>
>


 
 
Lori M Olson [TeamB]





PostPosted: 2005-10-19 3:19:00 Top

java-programmer >> printing jTable GEORGE wrote:
> You can switch JDK from Tools | Configure |JDKs
>
> "Jacques Chaurette" <email***@***.com> wrote in message
> news:435540e1$email***@***.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