{"id":22954036,"url":"https://github.com/hugoquinn2/fxpopup","last_synced_at":"2025-04-16T05:51:31.828Z","repository":{"id":266771879,"uuid":"899317018","full_name":"HugoQuinn2/fxpopup","owner":"HugoQuinn2","description":"FxPopup is a JavaFX library simplifies the creation of automatic forms and popup messages with minimal effort. With just a single line of code, developers can generate dynamic forms or display messages, while maintaining the flexibility to use custom views for both functionalities.","archived":false,"fork":false,"pushed_at":"2025-03-08T19:53:37.000Z","size":475,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:04:42.103Z","etag":null,"topics":["frontend","javafx","javafx-application","javafx-components","javafx-desktop-apps","javafx-gui","javafx-library","library","popup","responsive","responsive-design"],"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/HugoQuinn2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-12-06T02:52:33.000Z","updated_at":"2025-03-08T19:53:41.000Z","dependencies_parsed_at":"2024-12-06T03:28:32.136Z","dependency_job_id":"36510d50-9bb3-491f-9495-d5f0f96a087a","html_url":"https://github.com/HugoQuinn2/fxpopup","commit_stats":null,"previous_names":["hugoquinn2/fxpopup"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoQuinn2%2Ffxpopup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoQuinn2%2Ffxpopup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoQuinn2%2Ffxpopup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoQuinn2%2Ffxpopup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoQuinn2","download_url":"https://codeload.github.com/HugoQuinn2/fxpopup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249205028,"owners_count":21229848,"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":["frontend","javafx","javafx-application","javafx-components","javafx-desktop-apps","javafx-gui","javafx-library","library","popup","responsive","responsive-design"],"created_at":"2024-12-14T16:14:49.701Z","updated_at":"2025-04-16T05:51:31.821Z","avatar_url":"https://github.com/HugoQuinn2.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nFxPopup\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/HugoQuinn2/fxpopup\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/d24774fd-de30-4528-823a-393fe1661db3\" alt=\"Logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nFxPopup is a `JavaFX` library that simplifies the creation of automatic forms\nand popup messages with minimal effort. With just a single line of code, developers\ncan generate dynamic forms or display messages, while maintaining the flexibility to\nuse custom views for both functionalities.\n\n## Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.hugoquinn2\u003c/groupId\u003e\n    \u003cartifactId\u003efxpopup\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n## Gradle\n```groovy\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation 'io.github.hugoquinn2:fxpopup:1.2.0'\n}\n```\n\n## Getting started\n\n![Recording 2024-12-28 at 14 47 14](https://github.com/user-attachments/assets/366777a9-c1a2-4587-893e-4d90cd8d37d9)\n\nFxPopup seamlessly injects `XML` code into a JavaFX application to display \nnotifications to the user. To function correctly, the main container of \nthe application must be a `StackPane`. \nIf your root parent is not a `StackPane`, FxPopup will automatically wrap \nyour root element in a `StackPane` to ensure compatibility.\n\n```java\n//Example use lib\nFxPopup fxPopup = new FxPopup();\nfxPopup.add(/*add custom node to window*/);\nfxPopup.show(/*stack custom node to window*/);\n```\n\u003cp\u003e\nIf you want to display automatic forms, FxPopup requires access to the form's model and validation class.\nTo achieve this, export the relevant modules to FxPopup at your \u003ccode\u003emodule-info.java\u003c/code\u003e as shown in the following example:\n\u003c/p\u003e\n\n```java\nmodule your.app {\n    requires fxpopup;\n    \n    opens your.app.forms to fxpopup;\n    opens your.app.formsController to fxpopup;\n}\n```\n\n## Change Theme\n\n\u003cp\u003e\nFxPopup by default use \u003ccode\u003eSYSTEM\u003c/code\u003e, but you can force \u003ccode\u003eLIGHT\u003c/code\u003e \u0026 \n\u003ccode\u003eDARK\u003c/code\u003e theme in forms and popup with setTheme(Theme), example:\n\u003c/p\u003e\n\n```java\nfxPopup.setGlobalTheme(Theme.DARK); //Theme.LIGHT or Theme.SYSTEM\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoquinn2%2Ffxpopup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugoquinn2%2Ffxpopup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoquinn2%2Ffxpopup/lists"}