{"id":26906117,"url":"https://github.com/msh-trojan/java_21_jframe_test_1","last_synced_at":"2025-10-07T04:33:36.036Z","repository":{"id":255245897,"uuid":"847072784","full_name":"MSH-trojan/Java_21_JFrame_Test_1","owner":"MSH-trojan","description":" a Frame application called Test in which we test various ways to program JLabel, JTextfield, JPasswordField and JButton objects.","archived":false,"fork":false,"pushed_at":"2024-08-28T19:18:43.000Z","size":4134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-28T21:01:34.599Z","etag":null,"topics":["actionhandler","event-listener","graphics","gui-components","java","jframe","no-name-class"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MSH-trojan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-24T19:10:14.000Z","updated_at":"2024-08-28T19:18:46.000Z","dependencies_parsed_at":"2024-08-28T21:01:38.686Z","dependency_job_id":null,"html_url":"https://github.com/MSH-trojan/Java_21_JFrame_Test_1","commit_stats":null,"previous_names":["msh-trojan/java_21_jframe_test_1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Test_1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Test_1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Test_1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Test_1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MSH-trojan","download_url":"https://codeload.github.com/MSH-trojan/Java_21_JFrame_Test_1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628210,"owners_count":20808106,"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":["actionhandler","event-listener","graphics","gui-components","java","jframe","no-name-class"],"created_at":"2025-04-01T11:00:01.977Z","updated_at":"2025-10-07T04:33:35.924Z","avatar_url":"https://github.com/MSH-trojan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes to be aware of:\n\nThe action in the textfields is based on the private class TextFieldHandler\n\nThe action of the button is using a no-name event listener. \n\nIn this Test the method actionPerformed() is using the class JOptionPane for display.\n\n## On the use of No-name Class\n\nIn the previous example the action of the textfields  was processed by the object handler of the private (or inner) class TextFieldHandler,\n\nwhile the button action was processed by a no-name object of the no-name private class.\n\nThe method addActionListener() used in the button case should have in the brackets the processor object.  \n\nAs the no-name object is of a no-name class which implements the interface ActionListener, Java allows for the identification of that object with new ActionListener(). \n\nThis shortcut is confusing and you can avoid it if you want. \n\nYou can put the button processing inside the actionPerformed() of the textfields.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_test_1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_test_1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_test_1/lists"}