Post Image

Millimeter Underline

I've been working on the new pixel perfect post which I would like to focus around the text components, in order to do that I needed an underline border type. Historically this is something we shrugged off and pointed people at the 9-piece border. That was the wrong answer and it partially related to the way rendering used to work in Codename One and partially related to our reluctance in changing the resource file format.

Read More
Post Image

Sortable Table

Sometimes I get a question on stack overflow that triggers a "yes this should be easy" reflex. I got such a question a couple of weeks ago when I implemented the animated gif support cn1lib and I had another one last week which asked about sorting tables.

Read More
Post Image

Animated Gif Support

So you know how you write a blog post just before you go on vacation, press publish and never check that it actually got published... Funny thing, that's exactly what I did and the blog post mentioning that I was on "vacation" for a couple of weeks never got published. Anyway, other people have been busy while I was "away" but I got a couple of things done too including animated gif support.

Read More
Post Image

Responsive Sign-In Form Using New GUI Builder

For this blog post, I have prepared a couple of video tutorials to walk you through the creation of a Sign In form using the GUI Builder. I have taken the existing Sign In demo project as a basis, but I'm re-doing the UI, which was originally hand-coded, using the GUI Builder.

Read More
Post Image

Course Updates

I hoped to finish migrating all of the material from the original bootcamp to the new courses but got delayed due to external influences. There isn't much left so I'm sure I'll be done with the existing modules in early August and get started on the first of the new modules.

Read More
Post Image

Fractional Padding/Margin, Rounded Border, Ripple, Caps, Google Connect

We've been very busy the past few weeks despite the summer time but August is always problematic, I will personally take some time off from the blog next week and near the end of August. To allow that I want to clear my table from a lot of the features that went into Codename One over the past couple of weeks and didn't get sufficient or any documentation...

Read More
Post Image

Tutorial - Localization and Internationalization (i18n/l10n)

Localization and internationalization are probably some of the most important features for a modern app. Most frameworks tuck on localization as an afterthought as authors of such frameworks are often born in the states... Codename One integrates localization, deep into the framework. It becomes transparent and invisible...

Read More
Post Image

Pixel Perfect - Material Buttons part 2

Last week I wrote about the effort of revitalizing the native themes in Codename One and I'm not sure if I got the point across as I would have liked it. So this week before I go into the changes and work we're doing I'd like to take a step back and explain how everything works and why we need a native theme...

Read More
Post Image

Tutorial: How to Add Support for other JVM Languages

In this post, I elaborate on some of the behind the scene work that was involved in bringing Kotlin to Codename One.

Read More
Post Image

TIP: Animate Line Under Button

I got a question the other day about a UI design for an upcoming Codename One app. In this UI the title floated on top of the content as the content scrolled past and tabs were a part of the title area in the style of material design.
Our tabs component predated material design by many years and wasn't designed for this sort of UI. When you scroll out of a tab it scrolls out. Using it for this sort of UI doesn't make much sense. The solution was to use a custom title area with two toggle radio buttons representing each tab with a line below to indicate the selected button.

Read More