Ah, yes, that is why I didn't see the class. Thanks.

-Nathan

On 11/24/06, Ivanov, Alexey A <[EMAIL PROTECTED]> wrote:
Nathan,

This class *is* part of the public API and is *documented* in javadoc.
If it weren't, JAPItools would've detected the incompatibility.

The reason why you didn't find it in javadoc might be that
JTable.AccessibleJTable is not listed in All Classes view. That's
because AccessibleJTable is non-static nested class. Such classes are
listed in documentation for containing class only.

Look at the javadoc for JTable:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTable.html
You'll find AccessibleJTable in Nested Class Summary section:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTable.AccessibleJTa
ble.html


The major part of the accessibility features of Swing was just stubbed.


Regards,
--
Alexey A. Ivanov
Intel Enterprise Solutions Software Division


>-----Original Message-----
>From: Nathan Beyer [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 23, 2006 9:59 PM
>To: [email protected]
>Subject: Re: svn commit: r478620 [2/2] - in
>/harmony/enhanced/classlib/trunk/modules/swing: META-INF/MANIFEST.MF
>src/main/java/common/javax/swing/JTable.java
>
>Good catch. But I was skeptical of this particular class. I couldn't
>find the class JTable.AccessibleJTable in the javadoc and I couldn't
>find any uses of this class. Am I just a little crazy, anyone else see
>this? I was still doing a little research on this class.
>
>Note, I did do the right thing on the "print" methods added to JTable.
>
>-Nathan
>
>On 11/23/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>> Right!
>>
>> 2006/11/23, Tim Ellison <[EMAIL PROTECTED]>:
>> > [EMAIL PROTECTED] wrote:
>> > <snip>
>> > > -            public void setAccessibleName(final String s) {
>> > > -                throw new UnsupportedOperationException("Not
>implemented");
>> > > +            @Override
>> > > +            public void setAccessibleName(String s) {
>> > > +                throw new NotImplementedException();
>> > >              }
>> > <snip>
>> >
>> > Nathan, I think you have to change the method signature to, for
example,
>> >
>> > public void setAccessibleName(String s) throws
NotImplementedException
>{
>> >    throw new NotImplementedException();
>> > }
>> >
>> > for Japi to recognize it.
>> >
>> > Regards,
>> > Tim
>> >
>> >
>> > --
>> >
>> > Tim Ellison ([EMAIL PROTECTED])
>> > IBM Java technology centre, UK.
>> >
>>

Reply via email to