January 2015
Beginner to intermediate
478 pages
9h 46m
English
In this section, we will take a closer look at the actual code of the demo project. Thereafter, we will do some simple modifications to the code and also use the debugger.
Let's take a first look at the generated code of MyDemo.java from the demo project.
The following code snippet shows the class definition:
public class MyDemo implements ApplicationListener {
// ...
}As you can see, the MyDemo class implements the ApplicationListener interface. The MyDemo class from Gradle project (demo-core) produces a quite different code as follows:
public class MyDemo extends ApplicationAdapter {
//...
}Here, the ApplicationAdapter is an abstract class that implements the ...
Read now
Unlock full access