Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.25 KB

File metadata and controls

48 lines (30 loc) · 1.25 KB

Overview

  1. How to use swing debugging tools

  1. add to build.gradle.kts: implementation("org.swingexplorer:swingexplorer-core")
  2. Find path of javaassist jar
  3. Find path of swingexplorer agent jar
  4. See runner script

Extras

  1. See also git repo
  2. See also maven repo
  3. See also: JetBrains plugin (I don't know how to use)

  1. ... TODO: no maven artifact :-(

  1. TODO: module stuff: --add-opens java.desktop/javax.swing=ALL-UNNAMED

Download

  1. Download jar from maven
  2. Install into main
    try {
        Class.forName("jodd.swingspy.SwingSpy").getMethod("install").invoke(null);

    } catch (Exception ex) {
        System.err.println("SwingSpy is not installed... " + ex);
    }
  1. Run the app
  2. CTRL + SHIFT + Click