{"id":16818017,"url":"https://github.com/igr/swingspy","last_synced_at":"2025-04-11T02:25:08.731Z","repository":{"id":78714918,"uuid":"102981193","full_name":"igr/swingspy","owner":"igr","description":"Swing introspector, shows a hierarchy of dialog's elements under the cursor.","archived":false,"fork":false,"pushed_at":"2017-09-09T20:25:16.000Z","size":226,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T23:51:26.433Z","etag":null,"topics":["java","swing","swing-gui","utility"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-09T19:51:51.000Z","updated_at":"2024-11-11T19:54:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e8fa81d-6a5f-4eb3-9ea4-093a58cdb8fc","html_url":"https://github.com/igr/swingspy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fswingspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fswingspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fswingspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igr%2Fswingspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igr","download_url":"https://codeload.github.com/igr/swingspy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328642,"owners_count":21085361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","swing","swing-gui","utility"],"created_at":"2024-10-13T10:48:59.291Z","updated_at":"2025-04-11T02:25:08.722Z","avatar_url":"https://github.com/igr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwingSpy\n\n**SwingSpy** is a Swing introspector that runs in the background of your application.\nIt shows a hierarchy of dialog's elements under the cursor, which may be useful during\ndevelopment or debugging the Swing UI.\n\n## Usage\n\nAdd **SwingSpy** jar to classpath and somewhere at the startup of your Swing application add the following code:\n\n```java\n    try {\n        Class.forName(\"jodd.swingspy.SwingSpy\").getMethod(\"install\").invoke(null);\n    } catch (Exception ex) {\n        System.err.println(\"SwingSpy is not installed... \" + ex.toString());\n    }\n```\n\nOnce installed, **SwingSpy** may be invoked by pressing the hot-key combination: `ctrl+shift+click`\nanytime during the runtime of your application.\nWhen activated, **SwingSpy** shows a dialog with complete hierarchy of Swing components and\nsome raw object's content on the right. Clicked component will be expanded in the hierarchy three.\n\nWhile **SwingSpy** is active, user may hover the cursor over swing dialog and component under\nthe cursor will be highlighted. During that time, cursor will be followed by the word `Spy` and\nthe component under the mouse will be highlighted.\nBy clicking the hotkey again over another component, **SwingSpy** will locate it in the hierarchy three.\n\n**SwingSpy** may be exited by closing its dialog. It remains in the background until the next use.\n\n## Screenshots\n\n**SwingSpy** in action over small dialog:\n\n![](swingspy1.jpg)\n\n**SwingSpy** in action over real-world complex UI application:\n\n![](swingspy2.png)\n\nEnjoy Swing!!!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figr%2Fswingspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figr%2Fswingspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figr%2Fswingspy/lists"}