This discussion is archived
3 Replies Latest reply: Jul 14, 2011 6:36 AM by 827494 RSS

JEditorPane in a JScrollPane showing HTML JAWS accessibility

843807 Newbie
Currently Being Moderated
in our company we've got a jaws screen reader.
He doesn't read a HTML content of a JEditorPane.
I've used J2SE 1.3.1 and 1.50, Java Access Bridge 1.0.2 und 2.0.1
and Jaws 4.51 and Jaws 6.20

Can somebody tell me how it works?

Here my code:

//in a JFrame
GridLayout l_GridLayout = new GridLayout(1,1);          
          JEditorPane l_JEditorPane = new JEditorPane();          
          JScrollPane scroller = new JScrollPane();
          m_JEditorPane = new JEditorPane();
          HTMLEditorKit l_HTMLEditorKit = new HTMLEditorKit();
          JLabel label = new JLabel("CBM Startseite");
          m_JEditorPane.setEditorKit(new HTMLEditorKit());
          JViewport vp = scroller.getViewport();
          File file = new File(res.getString("START_HTML_FILE"));
          File l_FileTemp = getStartSeiteHTML(file);
               URL l_URL = l_FileTemp.toURL();               
          catch (IOException e)
               JOptionPane.showMessageDialog( null ,"MainFrame IOException " + " "+ e.toString(), "Error", JOptionPane.ERROR_MESSAGE);
          Thank you