proomt

Search

Search posts, papers, and topics

All posts

CodeName OneShai Almog9 min readintermediate

The Third-Generation GUI Builder: One Workspace for Every Form

Summary

Codename One’s third‑generation GUI Builder turns the editor into a Maven‑aware project workspace: it scans all `.gui` files, shows live CSS, and protects generated Java regions, keeping Steve Hannah’s guided `LayeredLayout` model while eliminating per‑form editor launches.

  • The editor is now launched via a single Maven goal (`mvn cn1:guibuilder`) that binds the whole project, avoiding separate processes for each form.
  • Guided layout survives the rewrite; relationships are stored by component name, not absolute coordinates, and persist across saves.
  • Live CSS editing updates the preview instantly, using the same `theme.css` compiled for the app—no separate theme model.
  • Generated Java code is split into protected `<gui-builder-generated>` and user‑editable `<gui-builder-user-code>` regions, preventing accidental overwrites.

By treating the whole Maven project as the unit of work, the GUI Builder eliminates the navigation overhead that plagued earlier versions, making visual UI development scalable for larger apps. Preserving guided layout while exposing live CSS and protected code regions bridges the gap between visua…

6/10

Related reading

  1. One App, More Than One Native Window

    Codename One now supports true native desktop windows via a new `Window` class that separates per‑surface state (paint queue, input routing, native peers) from the global `Display`. The change adds a `PaintSurface` abstraction, platform‑specific window back‑ends (AWT/Swing, Direct2D, GTK, UIWindowScene), and a migration path for components that assumed a single `Form`. Initial release has some UI…

    CodeName Onecodenameone.com11 min
  2. Why Codename One Is Moving Beyond Maven Central

    Codename One is moving its Maven artifacts from Sonatype’s Maven Central to a self‑hosted Cloudflare R2 bucket. Phase 1 reduces release payloads (from 229 MB to 77 MB) by dropping fat‑JARs and freezing stable deps, adds dual‑publish, and updates generated POMs to include a custom repository for both dependencies and plugins. After a three‑week observation window (ending Aug 28 2026) new releases…

    CodeName Onecodenameone.com7 min
  3. Reflect, Revise, Reuse: Training-Free Skill Evolution for GUI Agents

    EvoSkill‑GUI lets GUI agents revise their procedural skills on‑the‑fly without extra training by using a reflect‑revise‑reuse loop that edits skill packages during execution. The approach yields up to +16.2% improvement on MobileWorld and similar gains on AndroidWorld and OSWorld, and the evolved skills transfer to related tasks.

    Hugging Face Daily Papersarxiv.org1 minpaper