I need some java help

RichieZ

Diamond Member
Jun 1, 2000
6,551
40
91
I have a JTabel and I'm trying to set the acessible column descirptions so a screen reader like JAWS can read the column description.

this is what i get when I try and build it:
cannot resolve symbol
symbol : method setAccessibleColumnDescription (int,java.lang.String)
location: class javax.swing.JTable
table.setAccessibleColumnDescription(0,"TEST");

(table is a jtabel)

i'm new to java and i' problaby have the syntax wrong or something. Here's the doc for this

i would appreciate any help
 

AgentEL

Golden Member
Jun 25, 2001
1,327
0
0
the docs say:

setAccessibleColumnDescription(int c, Accessible a)

You are doing:

setAccessibleColumnDescription(int c, String a)

It's not the same.