Repository navigation
DesktopStartup
This developer reference describes deferred initialization in the GAMA 2026 sources. For installation or workspace recovery, use Troubleshooting; for source-launch failures, see Installing the development version.
Navigator project/folder wrappers load their immediate children on demand instead of recursively wrapping the workspace. Model-count labels and problem overlays scan Eclipse resources without constructing hidden wrappers. Search and expand-all still traverse the tree when requested. Restoring expanded folders or revealing an editor resource resolves its ancestor chain on demand.
Icons are loaded and cached on demand rather than scanning the entire SVG tree at startup. Library reconciliation checks every launch for missing or relocated projects, but indexes provenance per model folder and avoids rewriting unchanged persistent properties and workspace stamps.
Native Bullet loading is deferred until a physical simulation queries use_native, explicitly enables it, or first requests its native Bullet world. Loading is serialized and attempted once per process; failure is logged and selects JBullet instead. Explicit Java-only physics and Box2D world creation do not request native loading unless use_native is queried or enabled.
JOGL native initialization is deferred until the first desktop experiment launch, before any Java2D view is opened: initializing it later can deadlock with AWT. A progress dialog keeps the interface responsive when launch is requested on the UI thread.
The offscreen OpenGL capability probe is deferred further, until the first legacy OpenGL surface is created, without showing a probe dialog. Both operations run once; their cost moves from application startup to the first experiment/display.
Deferred graphics callbacks are registered in the API bundle, not the shared UI bundle. Display-bundle activation happens during language loading, before the workbench exists; touching a shared-UI class at registration time can prematurely activate its workbench-dependent activator.
The gama platform agent exposes preference inspection and updates, model/test operations, playable-package launching and model validation. The experiment agent provides execution controls, server-compatible status, display synchronization and maintenance actions.
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Exporting models and projects
- Preferences
- gama platform agent
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Classes and Objects
- Exploring Models
- Optimizing Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning OSM Data
- Diffusion
- Using Database
- Using Dataframes
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Stats Extension
- Sound Extension
- BDI Extension
- FIPA Skill
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the development version
- Introduction to GAMA Java API
- Developing Extensions
- Using GAMA flags
- Export plugin : Technical Documentation
- Creating a release of GAMA
- Documentation generation
- Desktop startup and deferred initialization