{"id":26906125,"url":"https://github.com/msh-trojan/java_21_jframe_multiple_selection_1","last_synced_at":"2025-04-01T11:00:04.187Z","repository":{"id":256479232,"uuid":"847073954","full_name":"MSH-trojan/Java_21_JFrame_Multiple_Selection_1","owner":"MSH-trojan","description":"This Java program allows users to select multiple colors from a list and copy them to another list by clicking a button. It demonstrates how to handle multiple selections and update lists dynamically using Swing's JList and event listeners.","archived":false,"fork":false,"pushed_at":"2024-09-10T21:31:17.000Z","size":10854,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-11T01:40:25.922Z","etag":null,"topics":["graphic","gui-components","java","jframe","jlist","multiple-selection"],"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:15:00.000Z","updated_at":"2024-09-10T21:31:20.000Z","dependencies_parsed_at":"2024-09-11T01:40:29.285Z","dependency_job_id":"f81252ac-45a5-48ee-a0e0-6430d1bc5f3e","html_url":"https://github.com/MSH-trojan/Java_21_JFrame_Multiple_Selection_1","commit_stats":null,"previous_names":["msh-trojan/java_21_jframe_multiple_selection_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_Multiple_Selection_1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Multiple_Selection_1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Multiple_Selection_1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_JFrame_Multiple_Selection_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_Multiple_Selection_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":["graphic","gui-components","java","jframe","jlist","multiple-selection"],"created_at":"2025-04-01T11:00:03.529Z","updated_at":"2025-04-01T11:00:04.158Z","avatar_url":"https://github.com/MSH-trojan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java_21_Multiple_Selection_1\n\n## Overview:\nThis Java program allows users to select multiple colors from a list and copy the selected colors to another list using a button.\n\nIt demonstrates the usage of JList with multiple selection and how to transfer data between lists within a graphical user interface (GUI) built using Swing.\n\n## Features:\n\nSelect multiple items from a list of color names.\n\nCopy selected items from the first list to a second list by clicking a button.\n\nHandles multiple item selections using MULTIPLE_INTERVAL_SELECTION.\n\n## Components used:\n\nJList: Displays color names and copies selected items to another list.\n\nJButton: Triggers the action to copy selected items.\n\nContainer: Manages the layout of the GUI components.\n\nActionListener: Handles the button click event to copy selected items.\n\n## How it works:\n\nThe first JList (colorList) displays a list of color names.\n\nThe user selects multiple colors from this list.\n\nWhen the \"Copy \u003e\u003e\u003e\" button is clicked, an ActionListener is triggered.\n\nThe selected colors are copied from colorList to the second JList (copyList), updating the second list with the selected values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_multiple_selection_1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_multiple_selection_1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_jframe_multiple_selection_1/lists"}