Fork us on GitHub

Desktop Skin

We didn't document this feature as it was released, it's about time...
Desktop Skin

Desktop Skin

During the final stages of the 3.7 release cycle we had a lot of material to go thru and Chen slipped a couple of features that we just didn’t have the time to discuss. One of those features is the new desktop skin which is a special case skin to debug desktop and JavaScript apps.

Unlike other skins it doesn’t scale, it resizes the UI when you resize it. It has no skin decorations except for a small bar at the bottom that indicates the current resolution. You can use this to simulate resizing from the user.

Activate the desktop skin thru the skins menu
Figure 1. Activate the desktop skin thru the skins menu
The desktop skin running the kitchen sink demo
Figure 2. The desktop skin running the kitchen sink demo

Desktop Features

We’ve been moving slowly to improve Codename Ones desktop support. Our own tools are already mostly written using Codename One (GUI builder, Settings).

We already feel that using Codename One in a desktop setting can produce a decent result in the right hands and we know a few people do exactly that. However, it’s hard for us to gauge expectations and desires from customers without feedback. When we build our own apps we use a lot of tricks we never bother to publish as our use cases are usually edge cases.

If you are looking to build desktop and web apps using Codename One let us know and we can discuss features that would make it better suited for those use cases.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.