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

FIND PROBLEMS IN MY APPLICATION, USING THE CODENAME ONE TOOLS AND THE STANDARD IDE TOOLS

When a Codename One application feels wrong, the first job is to identify what kind of problem you actually have. Is the UI frozen? Is the event dispatch thread blocked? Is a network request slow? Is a component repainting too often? Is memory pressure coming from images? Codename One gives you tools for each of those questions, but they work best when you use them alongside the normal debugger in your IDE. ...

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

IMPROVE APPLICATION PERFORMANCE OR TRACK DOWN PERFORMANCE ISSUES

Performance work gets easier once you stop thinking in terms of vague slowness and start looking for specific expensive patterns. In Codename One, the same categories of mistakes show up repeatedly: too much work on the EDT, heavy list renderers, unnecessary image churn, overly dynamic text measurement, and drawing strategies that look harmless in code but cost a lot at runtime. ...

Codename One