I've discussed properties a couple of times before but never in a condensed video tutorial like the one we have here. In this video we review the value proposition behind properties as a step by step process.
BuildWrite code in Java(tm) using Eclipse, NetBeans or IntelliJ/IDEA
TestVerify your app with our simulator, devices & test automation tools
DeployGenerate native binaries for all device types using the Codename One build cloud
180M Deployed Apps
1M Cloud Builds
Testimonials
One of a kind set of features
Codename One makes cross platform development simple, seamless and maintainableHigh DPI Support
Layout managers, multi-images, 9-piece borders and dozens of features designed to dynamically adapt your UI to all resolutions/densities.
Builtin Common Controls
Side menus, swipe containers, pull to refresh, infinite scroll and many other patterns are builtin
Full access to native
When you need to integrate with native features you can invoke Objective-C/Dalvik code thru native interfaces while maintaining portability!
Works with All IDE's!
NetBean, Eclipse & IntelliJ are fully supported
High Performance
Codename One is native to Android and generates native C code for iOS. It's as if you coded the app in C by hand.
GUI Builder/Fast Simulator
Apps can be hand coded or built with drag and drop, the Codename One device simulator is remarkably fast for short development cycles
Desktop & JavaScript targets
You can build a desktop Mac/Windows app as well as a JavaScript app that can run in the browser
Open Source
Codename One is completely open source and has a vibrant developer community.
Highly Extensible
3rd parties can build extensions (libraries/plugins) & add them right into Codename One. These extensions can include native OS code for full system access. Check out some of the available extensions here.
Get started right away!
Start Now! It's Free!Latest Posts From Our Blog
SVG (Scalable Vector Graphics) is an XML based image format that represents an image as vectors instead of pixels (raster). An SVG file is represented by the set of lines & shapes that make it and can thus be rendered at any resolution without quality degradation due to scaling. It has some other neat tricks up its sleeve but I'm only going to discuss that specific feature today.
A developer recently asked me why Display is called Display when it has such a broad purpose?
The reason is historic with roots in Codename One's origin back in 2007, when we formed the company Chen advocated for a rename of that class and I disagreed. In retrospect I was wrong, the name doesn't work.
Image masking allows us to adapt an image which we acquired from an external source to fit our design e.g. if we want to show an image cropped to a circle we could apply a mask to it in order to get an intelligent crop. This is a very powerful tool as a designer can supply a hardcoded mask image and build some pretty complex shapes that include an alpha channel as well (making it superior to shape clipping).

