Thanks, Harjo. Although it would also be very useful for Smart Client-Applications. Or do you know of a technical reasons why this wouldn’t be possible. May be in a future release @Servoy: It would be quite helpful if the styles were marked if they are in some way “limited”.
This is well documented in the wiki! And dont count on css gradients going to work on smartclient! Java swing is something completly different. You can use gradients in smartclient but only doing it by images.
Harjo:
This is well documented in the wiki! And dont count on css gradients going to work on smartclient! Java swing is something completly different. You can use gradients in smartclient but only doing it by images.
Servoy 6.1 is where styles were normalized between smart and web client as closely as possible. Even then, gradients and some borders etc were not possible in smart client. Java swing has been around for a long time and is not where UI development is getting pushed (in fact, swing is getting replaced outright with FX: http://www.oracle.com/technetwork/java/ … 46554.html).
In the two years since 6.1 came out, what is possible with css has exploded. You can do 3D animations (with dom elements no less) for example. I wouldn’t expect Servoy’s wiki to keep up with all the variations and differences.
Is JavaFX replacing Swing as the new client UI library for Java SE?
Yes. However, Swing will remain part of the Java SE specification for the foreseeable future, and therefore included in the JRE. While we recommend developers to leverage JavaFX APIs as much as possible when building new applications, it is possible to extend a Swing application with JavaFX, allowing for a smoother transition.
@Servoy : Isn’t it time for a smart client update to bring the UI more in line with the Servoy web client ?
(Yes, besides smart client I still want a html5 fat web client (Servoy 8 ))