09.04.2018 Views

tornadofx-guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Components<br />

You should now see your application launch (Figure 3.5)<br />

Figure 3.5<br />

Congratulations! You have written your first (albeit simple) TornadoFX application. It may not<br />

look like much right now, but as we cover more of TornadoFX's powerful features we will be<br />

creating large, impressive user interfaces with little code in no time. But first let's understand<br />

a little better what is happening between App and View .<br />

Understanding Views<br />

Let's dive a little deeper into how a View works and how it can be invoked. Take a look at<br />

the App and View classes we just built.<br />

14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!