With our skeleton framework written and laid out, we can now work on flushing out the graphical component of Leapaint. As we're using the Java programming language for this application, we will write the graphical side of things using the Java Swing API. First up is the
As you read this section and the remainder of this chapter, keep in mind that as this book is titled Mastering Leap Motion and not Mastering the Java Swing API, I will not be discussing the fine details of what the Swing API calls are doing or how they work.
It's time to make your first Leap-driven, visually responsive button. There are many, many different ways to go about coding ...