{"id":23379299,"url":"https://github.com/rajtilak-2020/java_calculator","last_synced_at":"2025-09-04T03:37:29.240Z","repository":{"id":260899536,"uuid":"882663594","full_name":"rajtilak-2020/Java_Calculator","owner":"rajtilak-2020","description":"A simple yet elegant calculator application developed in Java using Swing. This project demonstrates basic calculator functionalities and a clean user interface.","archived":false,"fork":false,"pushed_at":"2024-11-16T16:04:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T05:51:24.364Z","etag":null,"topics":["java","programming","project"],"latest_commit_sha":null,"homepage":"","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/rajtilak-2020.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":"2024-11-03T12:38:54.000Z","updated_at":"2024-12-01T07:39:13.000Z","dependencies_parsed_at":"2024-11-03T13:28:04.947Z","dependency_job_id":"9b41dc83-2c1a-49f4-bd25-ce7920d576fa","html_url":"https://github.com/rajtilak-2020/Java_Calculator","commit_stats":null,"previous_names":["rajtilak-2020/java_calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rajtilak-2020/Java_Calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FJava_Calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FJava_Calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FJava_Calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FJava_Calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajtilak-2020","download_url":"https://codeload.github.com/rajtilak-2020/Java_Calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FJava_Calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273548262,"owners_count":25125253,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["java","programming","project"],"created_at":"2024-12-21T19:17:44.398Z","updated_at":"2025-09-04T03:37:29.201Z","avatar_url":"https://github.com/rajtilak-2020.png","language":"Java","readme":"# Java_Based_Calculator\nA simple yet elegant calculator application developed in Java using Swing. This project demonstrates basic calculator functionalities and a clean user interface.\n\n## Features\n\n- **Basic Arithmetic Operations**: Addition, subtraction, multiplication, and division.\n- **Square Root Calculation**: Computes the square root of a number.\n- **Backspace Functionality**: Allows users to delete the last digit.\n- **Clear Functionality**: Clears the current input and resets the calculator.\n- **Responsive Design**: Adjusts button sizes and layout for better usability.\n\n## Installation\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/rajtilak-2020/Java_Based_Calculator.git\n## Usage\n- **Basic Operations**: Click the number buttons to input numbers, and then use the operation buttons (+, -, *, /) to perform calculations.\n- **Square Root**: Click the √ button to compute the square root of the displayed number.\n- **Clear**: Click C to clear the display and reset the calculator.\n- **Backspace**: Click ← to delete the last digit.\n- **Equals**: Click = to compute the result of the current operation.\n- **Shutdown**: Click ▲ to close the application.\n\n## Development\nThe project was developed using Java Swing for the graphical user interface. The layout is created using GridLayout, and custom button borders are implemented using a RoundedBorder class.\n\n## Requirements\n- Java Development Kit (JDK) 8 or higher.\n\n## Dependencies\n- No external dependencies required.\n\n## Acknowledgements\nJava Swing for the graphical user interface.\nFonts and colors were chosen for better readability and aesthetics.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Fjava_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajtilak-2020%2Fjava_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Fjava_calculator/lists"}