|
- Cleaned up the class
- Placed fields/constructors/methods in a sensible order
- Removed unnecessary whitespace
(Why was there a blank line inside of if statements?)
- Deprecated the (width, height) constructors. The sizing wasn't implemented.
- Added accessors for labels.
- Made onToggle a Consumer<Boolean>, so the toggle value can be accessed in the handler.
|