skillfed

java-access-bridge-wrapper

Python wrapper for the Windows Java Access Bridge

java-access-bridge-wrapper v2.0.0 490.8K downloads/30d#6,368 on PyPI20
Permissive license Apache-2.0 Active released

What it is and what it does

java-access-bridge-wrapper is a Python binding for the Windows Java Access Bridge, enabling programmatic access to the accessibility tree and event stream of Java GUI applications running on Windows. It wraps the native JAB API and provides abstractions for navigating application element hierarchies and locating specific components.

The package is designed for test automation, accessibility verification, and GUI introspection workflows. It requires careful thread management—the wrapper object must be instantiated and operated within a dedicated thread that runs the Windows message pump, which handles asynchronous events from the Java application. The package depends only on pywin32 and supports Python 3.9 through 3.13 on 64-bit Windows systems.

Use it for:

  • Automate testing of Java applications by programmatically inspecting and interacting with GUI elements.
  • Build accessibility verification tools that validate Java application compliance with accessibility standards.
  • Create robotic process automation scripts that navigate and control Java-based enterprise applications.
  • Extract data from Java GUI applications by traversing the accessibility tree without modifying the application.
  • Monitor Java application UI state changes and respond to accessibility events in real time.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Wraps the Windows Java Access Bridge to let Python code programmatically interact with Java GUI applications' accessibility tree and events.

Yes, if you need to automate or inspect Java GUI applications on Windows. The package is actively maintained, has no known vulnerabilities, and installs with minimal friction. However, it requires careful setup: 64-bit Windows, Java >= 8, Python >= 3.9, and explicit enablement of the Java Access Bridge via jabswitch. The threading model adds complexity; use it only if you have a genuine need for Java GUI automation.

Install

java-access-bridge-wrapper on PyPI

pip

pip install java-access-bridge-wrapper

uv

uv add java-access-bridge-wrapper

poetry

poetry add java-access-bridge-wrapper

Installing java-access-bridge-wrapper

Before you install

Low friction installation with a single runtime dependency (pywin32). Actively maintained as of 2025-11-23 with recent commits. Requires 64-bit Windows, Java >= 8, and Python >= 3.9 as hard prerequisites; the Java Access Bridge must be explicitly enabled via jabswitch before use.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install java-access-bridge-wrapper

from java_access_bridge_wrapper import JavaAccessBridgeWrapper

jab_wrapper = JavaAccessBridgeWrapper()
jab_wrapper.switch_window_by_title("Frame title")

Requires 64-bit Windows, Java >= 8, Python >= 3.9, and the Java Access Bridge to be enabled via 'jabswitch -enable' in the Java bin directory. The wrapper object must run in a thread with an active Windows message pump.

Verify before relying

  • Whether the package supports 32-bit Java Access Bridge (listed as TODO in the description)
  • Completeness of utility functions (description notes some remain unimplemented)
  • Performance characteristics when working with large or deeply nested GUI element trees
  • Exact module and class names available in the public API beyond what the description excerpt shows

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4.0.0,>=3.9.1)
Install friction low — pure-Python wheel
Runtime dependencies 1 — pywin32
Maintenance actively maintained — 264 days since the last release
Last repo commit
First released
Downloads 490,772/month — #6,368 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: java_access_bridge_wrapper-2.0.0-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

java gui automation windowsaccessibility bridge pythonjava application testingwindows accessibility apijava swing automationgui element inspectionjava accessibility tree
windows-onlyjava-automationgui-testing

More Software Development packages