{"id":15068665,"url":"https://github.com/hasnatrasool163/hmeter","last_synced_at":"2025-04-10T16:51:20.563Z","repository":{"id":241585922,"uuid":"806306512","full_name":"Hasnatrasool163/HMeter","owner":"Hasnatrasool163","description":"HMeter: Customizable progress meter widget using Java Swing and 2D classes.It is highly customizable and could be used to indicate any progress in applications.","archived":false,"fork":false,"pushed_at":"2024-05-29T05:58:51.000Z","size":313,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-29T06:28:47.628Z","etag":null,"topics":["gui-meter","hmeter","java","java8","javaswing","javaswing-javaawt-oops-mysql","javaswingsapp","swing","swing-component","swing-components","swing-gui"],"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/Hasnatrasool163.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-05-26T23:32:31.000Z","updated_at":"2024-05-29T06:28:53.914Z","dependencies_parsed_at":"2024-05-29T06:28:53.566Z","dependency_job_id":"da693bff-b6b2-4bdc-8107-6babd2343a90","html_url":"https://github.com/Hasnatrasool163/HMeter","commit_stats":null,"previous_names":["hasnatrasool163/hmeter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnatrasool163%2FHMeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnatrasool163%2FHMeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnatrasool163%2FHMeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnatrasool163%2FHMeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hasnatrasool163","download_url":"https://codeload.github.com/Hasnatrasool163/HMeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248255943,"owners_count":21073423,"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":["gui-meter","hmeter","java","java8","javaswing","javaswing-javaawt-oops-mysql","javaswingsapp","swing","swing-component","swing-components","swing-gui"],"created_at":"2024-09-25T01:38:45.848Z","updated_at":"2025-04-10T16:51:20.529Z","avatar_url":"https://github.com/Hasnatrasool163.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HMeter - Customizable Horizontal Progress Meter Widget\n\nHMeter is a highly customizable Java Swing widget designed to display horizontal progress visually. It provides developers with a simple yet versatile tool to showcase progress in graphical form. With HMeter, you can easily integrate progress meters into your Java Swing applications, allowing for a more intuitive user experience.\n\n## Features\n\n- **Customizable Progress**: Set the progress value dynamically from 0 to 100.\n- **Color Customization**: Customize the colors of the progress arc, text, background, and boundary.\n- **Text Display**: Display custom text within the progress meter.\n- **Hollow or Filled Arc**: Choose between a hollow or filled arc for the progress indicator.\n- **Animation**: Optionally animate the progress to provide a more engaging user experience.\n- **Mouse Interaction**: Enable interactive control of the progress through mouse dragging.\n- **Responsive Design**: Ensures a minimum height for the meter to maintain proper visibility.\n- **Set Background**: Ensure a consistent design and personalization.\n\n## Getting Started\n\nTo integrate HMeter into your Java Swing application, follow these steps:\n\n1. Download the `HMeter.jar ` file.\n2. Include `HMeter.jar` in your project folder libraries,import HASNAT.HMeter.\n3. Instantiate an `HMeter` object and add it to your Swing component hierarchy.\n4. Customize the meter's appearance and behavior using the provided setter methods.\n5. Monitor and update the progress as needed in your application logic.\n\n## ScreenShot\n\n![Screenshot (1135)](https://github.com/Hasnatrasool163/H-Meter/assets/153990457/9f8f88fd-7cb1-4e0c-af28-3960bbe58da2)\n\n![Screenshot (1140)](https://github.com/Hasnatrasool163/H-Meter/assets/153990457/090a2fb4-64cc-4860-bbd7-7c14610d8f7b)\n\n\n\n## Usage\n\nHere's a simple example demonstrating how to use HMeter:\n\nimport javax.swing.*;\nimport java.awt.*;\n// import HASNAT.HMeter\n\npublic class MainFrame extends JFrame {\n    public MainFrame() {\n        super(\"HMeter Demo\");\n\n        // Create an HMeter with initial progress and text\n        HMeter hMeter = new HMeter(50, \"Processing...\");\n\n        // Customize HMeter appearance\n        hMeter.setProgressColor(Color.BLUE);\n        hMeter.setTextColor(Color.BLACK);\n        hMeter.setBackgroundColor(Color.WHITE);\n\n        // Add HMeter to the frame\n        getContentPane().add(hMeter);\n\n        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n        setSize(300, 300);\n        setLocationRelativeTo(null);\n        setVisible(true);\n    }\n\n    public static void main(String[] args) {\n        SwingUtilities.invokeLater(() -\u003e new MainFrame());\n    }\n}\n\n## Contributions\n\nContributions to HMeter are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue on GitHub.\n\n## License\n\nHMeter is licensed under the MIT License. See the [LICENSE](https://github.com/hasnatrasool163/HMeter/blob/main/LICENSE) file for details.\n\n---\n\nEnjoy using HMeter in your Java Swing projects and let us know how it enhances your user interfaces!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnatrasool163%2Fhmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasnatrasool163%2Fhmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnatrasool163%2Fhmeter/lists"}