The implementation was about 10 lines of code, and...
# tornadofx
e
The implementation was about 10 lines of code, and it doesn't add any bloat or create unnecessary objects.