You can create your user interface using scene2d, a set of libraries also included in the libGDX library libraries ( http://code.google.com/p/libgdx/wiki/scene2d ). All you have to do is create an actor for this library and add it to the scene / scene / screen. After that, apply some actions to your actor, and you will get the same effect as with JavaFX or Flash. If you need a special action that you cannot perform in rendering your application, and you need to encapsulate this action in your Actor, create a new actor that implements your main object (label, text text, ...) and redefines the method to act and draw to realize your own actor.
libGDX is not compatible (I think) with JavaFX, I create the whole application in LibGDX, this is a good deal.
source share