Milchreis / UiBooster

🚀 Creates fast and easy dialogs for utility tools
GNU General Public License v3.0
117 stars 12 forks source link

Custom colors for buttons #104

Closed Milchreis closed 1 year ago

Milchreis commented 1 year ago

Usage:

booster.createForm("small form")
    .addButton("Default button", "click me", (e, f) -> {})
    .addButton("Colored button here", "click me", (e, f) -> {}, new Color(183, 128, 0), Color.WHITE)
    .addButton( "click me", (e, f) -> {}, new Color(71, 118, 65), Color.WHITE)
    .show();

see