Open Source & Free

CREATE A BASIC HELLO WORLD APPLICATION & SEND IT TO MY DEVICE USING ECLIPSE

The first Codename One application you build in Eclipse should be intentionally small. Create the project with the initializr, import it into Eclipse as a Maven project, and aim for something that starts in the simulator, shows a form, and responds when you press a button. The video is out of date in one important way: it starts from the old Eclipse plugin workflow. The actual lesson is still valid, but the modern setup is Maven-based and does not depend on the legacy IDE plugins. ...

Codename One

CREATE A BASIC HELLO WORLD APPLICATION & SEND IT TO MY DEVICE USING INTELLIJ/IDEA

The easiest way to get started in IntelliJ is to open a Maven-based Codename One project and keep the first version of the app very small. Create the project with the initializr, import it into IntelliJ, and aim for something that starts in the simulator without surprises and does one obvious thing when you press a button. The video demonstrates the same first milestone, but it gets there through the old IDE plugin flow, which is no longer the recommended setup. That small app is enough to prove that the environment is working and to give you a solid base for the next step. ...

Codename One

CREATE A BASIC HELLO WORLD APPLICATION & SEND IT TO MY DEVICE USING NETBEANS

The first Codename One application you build in NetBeans should be deliberately simple. Create the project with the initializr, open it in NetBeans as a Maven project, and aim for an app that starts in the simulator, shows a form, and responds to one button press. The video uses the old NetBeans plugin flow, which is no longer the recommended way to start a project, but the underlying lesson is still the same: begin with a tiny app that teaches you the lifecycle and the development loop. ...

Codename One

CREATE A GORGEOUS SIDEMENU

A good side menu does two jobs at once. It gives the user a clear navigation structure, and it makes that structure feel intentional rather than bolted on. The old video builds this through the toolbar side-menu APIs and then styles the result in the theme designer. The basic navigation idea still works, but the modern styling path should usually be CSS rather than designer-driven theme editing. ...

Codename One

CREATE A LIST OF ITEMS

If you need to show a vertical list of items in Codename One, the first question is not “how do I use List?” It is “what kind of scrolling UI am I actually building?” The video makes a point that still matters: for many ordinary mobile screens, a vertically stacked container of components is easier to reason about than the older List API. ...

Codename One

CREATE A SIMPLE THEME

Styling in Codename One starts with a simple question: are you trying to change how components look, or are you trying to change how the UI behaves structurally? If the answer is visual styling, the modern default is CSS. The video uses the older designer-centered theme workflow, and that still helps explain the underlying concepts, but for a new project you should usually start with CSS and treat the older theme editor as a lower-level tool rather than the main path. ...

Codename One

CUSTOMIZE COMPONENT BORDERS AND BACKGROUNDS

Backgrounds and borders in Codename One are easiest to understand once you stop treating them as a pile of theme options and start thinking in terms of rendering precedence. A component does not simply combine every visual setting you give it. Some background choices override others. Borders can override background images. Gradients can override plain background colors. If a component is not rendering the way you expected, the first question is often not “did my value save?” but “which style layer is actually winning?” ...

Codename One

HANDLE EVENTS/NAVIGATION IN THE GUI BUILDER & POPULATE THE FORM FROM CODE

The GUI builder workflow in Codename One is based on generated forms and generated state-machine code, which means events and screen population work a little differently from the desktop UI builders many Java developers are used to. The old video focuses on that generated workflow directly, and that is still the right mental model if you are maintaining a GUI-builder based project. ...

Codename One

LAYOUT BASICS

Layouts are the reason a Codename One UI can survive different screen sizes, orientations, pixel densities, and languages. Components do not live at fixed coordinates. They live inside Container objects, and those containers use layout managers to decide how much space each child gets and where it should appear. ...

Codename One

LOCALIZE/TRANSLATE MY APPLICATION? APPLY I18N/L10N (INTERNATIONALIZATION/LOCALIZATION) TO MY APP?

Internationalization and localization are broader than translation. Internationalization means structuring the app so it can adapt to different locales. Localization is the work of adapting the app to a specific locale. Language is part of that, but so are dates, numbers, currency, right-to-left behavior, phrasing, and the cultural meaning of visual choices. ...

Codename One