"jaccessinspector" - Accessible Information Examiner

This section provides a tutorial example on how to use 'jaccessinspector' to examine accessible information of objects that trigger events in a Java GUI application on Windows computers.

What Is "jaccessinspector"? - "jaccessinspector" is a Windows GUI tool that allows you to examine accessible information of objects that trigger events in a Java GUI application.

Here is what I did to run "jaccessinspector" on my Windows computer.

1. Run JInternalFrameListenerTest.java and create 2 internal frames. Keep JInternalFrameListenerTest.java running.

herong> java JInternalFrameListenerTest.java

Internal frame opened
Internal frame opened
Internal frame activated
...

2. Run "jaccessinspector" in a separate window. I see the "jaccessinspector" window displayed.

herong> jaccessinspector

3. Click "File > Refresh Tree" menu. I see the "JInternalFrameListener Test" GUI component tree listed.

4. Move mouse back to the JInternalFrameListenerTest application window and perform some actions. I see messages displayed in the "jaccessinspector" window.

Each message contains accessible information of the GUI component where an event is triggered. in JInternalFrameListenerTest application. For example:

Version Information:
  Java virtual machine version: 17.0.1
  Access Bridge Java class version: 17.0.1
  Access Bridge Java DLL version: 17.0.1
  Access Bridge Windows DLL version: 17.0.1

AccessibleContent information at mouse point (0,0)
  Name:
  Virtual Name:
  Description:
  Role: panel
  Role in en_US locale: panel
  State: enabled,focusable,visible,showing,opaque
  Index in parent: 0
  Children count: 0
  Bounding rectangle: [38,271,228,438]
  Top-level window name: Internal Frame Listener Test
  ...

5. On the "jaccessinspector" window, click "Previous Message" and "Next Message" buttons to locate and read any particular message.

jaccessinspector - Examine GUI Component Info
jaccessinspector - Examine GUI Component Info

Cool. Displaying accessible information the GUI component dynamically will definitely help troubleshooting any issues in a Java GUI application.

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

JAB (Java Access Bridge) for Windows

 What Is JAB (Java Access Bridge)

 Java GUI Test Program

 "jaccesswalker" - GUI Component Tree Browser

"jaccessinspector" - Accessible Information Examiner

 Archived Tutorials

 References

 Full Version in PDF/EPUB