This discussion is archived
1 Reply Latest reply: Apr 20, 2011 10:51 AM by 835086 RSS

JAWS is not reading JButton

837968 Newbie
Currently Being Moderated
Can anybody pls help me in resolving some issues regarding JAWS
I just started with small example and given below is the code:

import javax.accessibility.Accessible;
import javax.swing.*;
import java.awt.*;
import javax.swing.JPanel;
public class AccesssimpleButton extends JPanel implements Accessible{

private static final long serialVersionUID = 1L;
public AccesssimpleButton()
JButton aButton = new JButton("Button");
String desc = "This is a simple button";
public static void main(String[] args)
JFrame frame = new JFrame("AccessSimpleButton");
frame.getContentPane().add(new AccesssimpleButton(), BorderLayout.CENTER);

JAWS is reading only "Access Simple Button",but Button is not read by JAWS .Also description of button also not read.

Can you pls suggest me that I have to do any setup before running this program.
I have installed JAWS 11(Licensed version)
Also I am running this application in IBM rational application developer 7.0

  • 1. Re: JAWS is not reading JButton
    835086 Newbie
    Currently Being Moderated

    I know it's been a while since you posted this but do you have Java Access Bridge installed? JAWS (along with any other accessibility technologies) need that so it can get the Java Accessibility API.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points