In the documentation, the Table constructor has
the following entries:

Table(int border)
           Allows one to set the border size.
 Table(java.lang.String border)
           Allows one to set the border size.

yet when I try to compile either of the following lines:
Table table = new Table(1);
or
Table table = new Table("1");

I receive a:
D:\javaapps\test\UserLogin.java(68):  Wrong number of arguments in
constructor.
        Table table = new Table(1);
                      ^
1 error
Build Failed
or a:
D:\javaapps\test\UserLogin.java(68):  Wrong number of arguments in
constructor.
        Table table = new Table("1");
                      ^
1 error
Build Failed

However,
table.setBorder(1);
compiles fine.

One note, I am using java 1.2.2 but I have had no problems until this.

Any ideas?

Thanks,

Christopher Fitch
(901) 374-9366
Consultant - StoneBridge Technologies - Memphis, TN
http://www.sbti.com




--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to