Ouch, that's a tough one. As I'm sure you're aware, Swing is simulating native widgets (at least non-heavyweight stuff) so even if it may look like a generic File chooser, it isn't. A good example of your problem would be to launch Spy++ that comes with Visual Studio and try to capture components. If I try this with a generic Windows application, I get a handle and can see the component class to be ToolbarWindow32. If I try to do the same with a Swing application, all I get is the top-level heavyweight component called SunAwtFrame.
A screen reader would work by walking the native Windows component tree and issue appropriate calls to GetWindowText etc. so just as the Spy++ exercise above demonstrates, all it would be able to get to is the SunAwtFrame and its caption. This is one big reason to prefer SWT apart from its speed. Out of curiosity, can the screen reader handle Eclipse? /Casper On 25 Jun., 16:53, Robin <[email protected]> wrote: > Has anyone tried using the java accessibility stuff. We have a java > swing app we sell and are looking into accessibility, specifically > support for screen readers. A guy I work with has asked this question > on stackoverflow, but we're both a bit baffled as to what could be at > issue. > > http://stackoverflow.com/questions/1043757/how-do-i-make-vistas-narra... > > We've tried downloading a commercial swing component demo (jide) and > get the same results, it'll narate the top level window title, but > then claims there are no other controls. We've not had time to check > if this is just a vista thing yet, figured I'd post here in case > someone knew of a gotcha which could be tripping us up > > any ideas? > Thanks for any help, > Robin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
