{"id":15069463,"url":"https://github.com/miurahr/java-repro-custom-laf-menu-focus","last_synced_at":"2025-10-05T08:30:37.714Z","repository":{"id":46206513,"uuid":"425181413","full_name":"miurahr/java-repro-custom-laf-menu-focus","owner":"miurahr","description":"Reproducer of a custom LaF and menu focus issue","archived":true,"fork":false,"pushed_at":"2021-11-07T04:16:32.000Z","size":79,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-30T13:41:37.977Z","etag":null,"topics":["java","lookandf","openjdk","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miurahr.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}},"created_at":"2021-11-06T07:20:41.000Z","updated_at":"2023-01-28T04:08:36.000Z","dependencies_parsed_at":"2022-09-08T11:30:22.125Z","dependency_job_id":null,"html_url":"https://github.com/miurahr/java-repro-custom-laf-menu-focus","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/miurahr%2Fjava-repro-custom-laf-menu-focus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miurahr%2Fjava-repro-custom-laf-menu-focus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miurahr%2Fjava-repro-custom-laf-menu-focus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miurahr%2Fjava-repro-custom-laf-menu-focus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miurahr","download_url":"https://codeload.github.com/miurahr/java-repro-custom-laf-menu-focus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235378521,"owners_count":18980463,"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","lookandf","openjdk","swing"],"created_at":"2024-09-25T01:42:40.602Z","updated_at":"2025-10-05T08:30:32.418Z","avatar_url":"https://github.com/miurahr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reproducer of a custom LaF and menu focus issue\n\nThis is a reproducer which give focus on a text field then call menu by\nAlt/Key combination, failed assertion as a \"wrong focus owner\", that the focus does not move to\n`JRootPane` from `JTextField`, when activate a custom LaF that utilizes `UIManager`'s `getDefaults`\nmechanism and just wraps system's default LaF.\n\n`CustomThemeOfWrappingSystemLaf` class is the example of the minimum custom LaF that wrap system laf.\n\nWhen comment-out `CustomThemeOfWrappingSystemLaf.installAndSet()` from a main method,\nall the tests are passed as expected.\n\n## Conditions\n\n- OS: Linux, macOS and Windows\n- OpenJDK: 8, 11, 17\n\n## Project affected\n\n- OmegaT [BUGS#1073](https://sourceforge.net/p/omegat/bugs/1073/)\n\n## License\n\nThe codes and contents are licensed under GNU General Public License version 2,\nor (at your option) any later versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiurahr%2Fjava-repro-custom-laf-menu-focus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiurahr%2Fjava-repro-custom-laf-menu-focus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiurahr%2Fjava-repro-custom-laf-menu-focus/lists"}