{"id":26906131,"url":"https://github.com/msh-trojan/java_21_animation_1","last_synced_at":"2026-04-29T01:02:02.977Z","repository":{"id":253291783,"uuid":"843053241","full_name":"MSH-trojan/Java_21_Animation_1","owner":"MSH-trojan","description":"A simple program showing a simple animation of a circle going forward and backward.","archived":false,"fork":false,"pushed_at":"2024-08-15T17:48:28.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T09:05:22.512Z","etag":null,"topics":["animation","gui-components","java","jframe","thread"],"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-15T17:20:38.000Z","updated_at":"2024-08-15T17:48:30.000Z","dependencies_parsed_at":"2024-08-15T19:56:50.914Z","dependency_job_id":"4b781f99-659c-492e-acdf-fcb058a7f9ec","html_url":"https://github.com/MSH-trojan/Java_21_Animation_1","commit_stats":null,"previous_names":["msh-trojan/java_21_animation_1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MSH-trojan/Java_21_Animation_1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_Animation_1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_Animation_1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_Animation_1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_Animation_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_Animation_1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSH-trojan%2FJava_21_Animation_1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animation","gui-components","java","jframe","thread"],"created_at":"2025-04-01T11:00:04.581Z","updated_at":"2026-04-29T01:02:02.921Z","avatar_url":"https://github.com/MSH-trojan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java_21_Animation_1\n\nThis JFrame application is the programming behind many computer games.\n\nIn this application a red circle is moving (non-stop) between the top-left point (10,30) and the middle of the frame (100,130) (i.e. in both directions)\n\nThis program one creates a thread in which the position of the red circle is recalculated and the method repaint() is used to replace the old circle with the new one.\n\nEach circle is displayed for 50 milliseconds.\n\nClass Anim.java can be changed to have the red circle moving from the top right corner of the frame to the middle of the frame.\n\nThe code is the class Anim1.java which inside method paint() has:\ng.fillOval(getWidth()-20-position, 20+position, 30, 30);\n\nThe top right corner has the coordinates:\n(getWidth()-20, 20) \n\nand x is decreased, while y is increased.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_animation_1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsh-trojan%2Fjava_21_animation_1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsh-trojan%2Fjava_21_animation_1/lists"}