Questions tagged [java-access-bridge]

Questions about the Java Access Bridge, a C++ library that exposes the Java Accessibility API to assistive technologies. On Windows, it is available as a DLL.

38 questions
10
votes
1 answer

Running sample Java app for JavaAccessability in C# with 64-bit Java SDK and 64-bit windows

I have a sample Java app that I got when I downloaded javaaccessablity-2.0.2 that makes use of Java Accessibility (via the Java Access Bridge WindowsAccessBridge-32.dll). Although it calls the getAccessibleContextFromHWND successfully it returns…
krrishna
  • 2,050
  • 4
  • 47
  • 101
9
votes
1 answer

How do I automate a Java Applet using the Java Access Bridge?

I need to automate a Java Applet which sits inside an IE only website. I know I can use the Java Access Bridge to interact with Java applications but I'm having trouble finding out how to hook it up to an Applet. I am aware of a Java Bridge method…
Jon
  • 91
  • 2
7
votes
2 answers

Not receiving callbacks from the Java Access Bridge

I'm trying to use the Java Access Bridge to get information about Swing components from inside a C++ app. However, none of the callbacks I register ever get called. I tried enuming the windows an then calling IsJavaWindow() on each handle, but it…
James
  • 2,050
  • 13
  • 15
5
votes
2 answers

C# to automate Java application with Java Access Bridge

I have a Java application that I want to automate for testing. Unfortunately, the app window only registers as a SunAWTFrame, which means none of the controls are exposed to typical window analysis and automation tools. My search has lead me to C#…
Jegan Kumar
  • 51
  • 1
  • 2
5
votes
3 answers

How do I enable the Java Access Bridge in a bundled JRE?

In Java 1.7, the Java Access Bridge is bundled from start. It says that all you need to do is to run jabswitch.exe -enable to enable the JAB for this particular JRE. This works fine when you get your JRE from the installer. However, when deploying…
Wiggan
  • 61
  • 2
  • 4
4
votes
2 answers

Java access bridge- issue while using getAccessibleContextAt

In C#.net code, have been trying to use the interface- getAccessibleContextAt in the following manner. For the Java application in concern, I identify the main windows-handle I get the pointer for the application context and the vmid using…
3
votes
0 answers

Get BackgroundColor/ForegroundColor of external Java application

I'm writing automation test script for checking a target application run by Java Swing framework. It using Java Access bridge library to detect element inside target application. However, this library can only get name / role / position / states of…
phibao37
  • 2,230
  • 4
  • 26
  • 35
3
votes
0 answers

How to use Java Access Bridge correctly?

Here is my code: BOOL bRet = initializeAccessBridge(); if (!bRet) { MessageBox(NULL, _T("ERROR at initializeAccessBridge"), _T("ERROR"), 0); } shutdownAccessBridge(); I am trying to initialize Java Access Bridge, but initializeAccessBridge…
3
votes
2 answers

Automation using Java Access Bridge

I can capture text from UI controls (button/Editbox/Checkbox etc) in Java Applications, using Java Access Bridge events. How can I: Set text in a Editbox Click on a button using Java Access Bridge API calls?
stamhaney
  • 1,246
  • 9
  • 18
3
votes
1 answer

How can I support assistive technologies in JavaFX 2.2?

The possibility of connection to JAWS and NVDA through Java Access Bridge is needed. As far as I understand there is no support for Assistive Technologies in JavaFX (unlike in Swing). I found the project called fxaccessible, but it is not well…
Dmitry
  • 291
  • 2
  • 6
  • 19
2
votes
1 answer

Java Access Bridge crashes JVM on releaseJavaObject()

I'm using the Java Access Bridge to pull data from an Oracle interface, and occasionally get the following crash (I'm assuming when I call releaseJavaObject() - as when I remove these lines of code, the problem goes away. Here's the crash log: # A…
HeWhoWas
  • 601
  • 1
  • 10
  • 22
2
votes
1 answer

Java Access Bridge C#: Only MouseClicked event firing?

I've been messing around with the Java Access Bridge and have managed to get most of it working, with one exception: I can only hook the MouseClicked event within the Java window. This code: [DllImport("WindowsAccessBridge.dll", CallingConvention =…
HeWhoWas
  • 601
  • 1
  • 10
  • 22
2
votes
0 answers

How to use java access bridge to get the cell in JTable

I want to get the cell in table by using java access bridge,but I can't get the location of the cell,such as x,y width,height.so can someone to tell me how to do it ?thanks
2
votes
1 answer

How do I uninstall a corrupt copy of Java's Assistive Technology - AccessBridge from a Windows 10 PC

My company sells a Java app that mysteriously stopped working for one of our customers. It had been working, but now won't start. The error he gets when trying to start the app is: "java.awt.AWTError: Assistive Technology not found...". I've…
d ei
  • 493
  • 4
  • 16
2
votes
1 answer

BluePrism Java app: Error while spying the element Index was outside the bounds of the array

System.ApplicationException: Exception getting Java Identfier KeyBindings Exception: Index was outside the bounds of the array. at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo& elementType, List`1& identifiers) at…
Rojer Feds
  • 77
  • 3
  • 9
1
2 3