{"id":15056107,"url":"https://github.com/gingaabread/jtoasti","last_synced_at":"2026-01-02T10:03:17.087Z","repository":{"id":154333540,"uuid":"309778526","full_name":"GingaaBread/JToasti","owner":"GingaaBread","description":"JToasti is a super simple Java library that allows the quick and beautiful implementation of toasts in JavaFX","archived":false,"fork":false,"pushed_at":"2020-11-10T14:34:03.000Z","size":682,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T06:12:45.273Z","etag":null,"topics":["gui","java","javafx","javafx-gui","ui","ui-components"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GingaaBread.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":"2020-11-03T18:49:50.000Z","updated_at":"2021-09-24T14:54:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf1b14de-6f3f-44a0-abaf-418e83cf18bc","html_url":"https://github.com/GingaaBread/JToasti","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GingaaBread%2FJToasti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GingaaBread%2FJToasti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GingaaBread%2FJToasti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GingaaBread%2FJToasti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GingaaBread","download_url":"https://codeload.github.com/GingaaBread/JToasti/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532558,"owners_count":20306156,"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","java","javafx","javafx-gui","ui","ui-components"],"created_at":"2024-09-24T21:48:05.192Z","updated_at":"2026-01-02T10:03:16.972Z","avatar_url":"https://github.com/GingaaBread.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JToasti\nJToasti is a super simple Java library that allows the quick and beautiful implementation of toasts in JavaFX \n\n### The Toast Types\n\n![](Github/InformationToast.png)\n![](Github/SuccessToast.png)\n![](Github/WarningToast.png)\n![](Github/UndoToast.png)\n\n**Example**:\n\n![](Github/JToasti.gif)\n\nNaturally, the titles, descriptions, and icons can be customised.\n\n\u003chr\u003e\n\n## Download \u0026 Installation:\nJust add the jar to your project build path to use JToasti\n\nVersion 3.0:\nwww.shorturl.at/koKY7\n\nYou can also find older versions in the Releases section. Please note that these are not recommended as they are outdated.\n\u003chr\u003e\n\n## How to use:\nCreate an object of the JToasti class and add it to a container. To spawn a toast simply use the spawnToast() method. ToastType describes the type of toast that will be displayed: Available types are information, warning, and success. These only differ in appearance. There is also the undo toast type that contains an undo button. You can add an event listener by using the setOnUndo() method. Finally, provide a title and description for your toast and that's all!\n\nSimple Example:\n```java\n// Creates the toast container\nJToasti toastContainer = new JToasti();\n\t\t\n// You can use a simple lamda expression to add an event\ntoastContainer.setOnUndo( e -\u003e System.out.println(\"Undid the last action\"));\n\n// Spawns an undo toast\nanyButton.setOnAction(e -\u003e toastContainer.spawnToast(ToastType.UNDO, \"Deletion\", \"Successfully deleted the file\"));\n\t\t\n// Adds the toast container to a pane\nanyPane.getChildren().add(toastContainer);\n```\n\n## Adjustments:\nOf course you can change the toast icons as well as title and description fonts. You can also adjust the toast lifetime, the fadeout speed, its preferred height, and its preferred width. In order to do so simply use the respective setter methods. As the JToasti class extends JavaFX's VBox, you can obviously use all VBox methods (like spacing) as well.  \n\n\u003chr\u003e\n\n## License:\nPlease see the LICENSE file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingaabread%2Fjtoasti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgingaabread%2Fjtoasti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingaabread%2Fjtoasti/lists"}