Connecting Tech Pros Worldwide Forums | Help | Site Map

tables

haig
Guest
 
Posts: n/a
#1: Jun 27 '08
Hi

I'm trying to build a little app. using tables. Well I get an error, cannot
find method setFillsViewportHeight(boolean) in class javax.swing.JTable
What can be wrong, I did import javax.swing.JTable
I'm using Debian Linux and java version 1.5.0_14
Hope someone can help me.

Greets

wizard of oz
Guest
 
Posts: n/a
#2: Jun 27 '08

re: tables


This is a new method. If you look at the JTable javadoc it says "Since 1.6"
on your method. You should be using a 1.6 JDK and JRE.


"haig" <haig.invalid@telenet.bewrote in message
news:k1X1k.92455$Ht.42360@newsfe05.ams2...
Quote:
Hi
>
I'm trying to build a little app. using tables. Well I get an error,
cannot
find method setFillsViewportHeight(boolean) in class javax.swing.JTable
What can be wrong, I did import javax.swing.JTable
I'm using Debian Linux and java version 1.5.0_14
Hope someone can help me.
>
Greets
haig
Guest
 
Posts: n/a
#3: Jun 27 '08

re: tables


wizard of oz wrote:
Quote:
This is a new method. If you look at the JTable javadoc it says "Since
1.6" on your method. You should be using a 1.6 JDK and JRE.
>
Thanks, had be something like this :-)
Closed Thread