Skip to content
Pauta1.4.1

Window shell

Editora's Welcome tab
Editora's Welcome page: Start actions with their chords, Recent Projects, Recent Files and Customize.
  • Status bar, always present (toggleable). Its left side is the echo area: one line of feedback for the last action. Errors are red, warnings amber. Clicking it opens the Message Log. Editora’s ui/StatusBar.java (status-echo-error, status-echo-warn; a click runs view.messageLog) and the Message Log template.
  • Themes: light and dark AtlantaFX themes plus a “follow the system” choice, switchable at run time without a restart. Semantic colors: amber = not durable yet (unsaved, read-only), red = broken, green = verified or added. Editora’s ui/Themes.java (applyAppTheme) switches at run time and ui/WindowColorScheme.java tells every window’s frame which scheme it is in; Mirada’s ui/Theme.java (ThemeChoice.SYSTEM) follows the system’s color scheme as it changes.
  • Title bar: SHOULD use JavaFX 27’s HeaderBar with StageStyle.EXTENDED to put the menu or tabs in the title bar, with a decorated-window fallback, and useSystemMenuBar on macOS. Editora’s ui/ExtendedWindow.java.
  • Native dialogs go through one helper (Dialogs.styled) because a dialog is its own scene and does not inherit the app stylesheet or the UI font.
  • A destructive action asks first, and says what it does. Removing, deleting, discarding or overwriting something the user made goes through one confirm helper (Torrenta’s RemoveConfirm, Editora’s save decisions). The question names the thing (“Remove 3 torrents?”), the confirm button names the action (Remove, Discard, Overwrite), never OK or Yes, and Escape cancels. Where the action can be undone instead (Torrenta’s UndoStack, Termina’s and Editora’s reopen-closed-tab), prefer the undo over the question.
  • Welcome page when there is nothing to restore: Start actions (which run commands), Recent items, a Customize block (keymap and theme), Help links. Editora’s ui/WelcomePane.java; see the Welcome template.
  • About shows version, build, runtime (Java and JavaFX versions), license, links, and the result of the last update check. Editora’s ui/AboutDialog.java; see the About template.
  • Window state: size, position, maximized state and open items are restored on the next launch; a --no-session flag skips the restore. Editora’s config/WorkspaceState.java (windowX … windowMaximized), ui/WindowSessionCoordinator.java, and App.noSessionFlag.
  • Zoom: UI and content zoom from the keyboard (Ctrl/Cmd +, -, 0), persisted. Editora zooms content: view.textZoomIn, view.textZoomOut and view.textZoomReset, kept in Settings.fontZoom.
  • Modes MAY: Zen (no chrome), Simple (fewer menus for new users), Expert. Editora’s ui/WindowChromeCoordinator.java (toggleZen, applySimpleMode) over the truth table in ui/Chrome.java.
Mirada with its file name and folder in a HeaderBar title bar, an info panel and a thumbnail strip
Mirada's HeaderBar title bar carries the file name and folder; the info panel and thumbnails are commands too.
Termina window with tabs in the title bar and a tab context menu
Termina puts its tabs in the title bar with JavaFX 27's HeaderBar.
Editora's View menu open with toggle commands and their chords
Every menu item is a command and shows its chord.

Pauta 1.4.1 · · Changelog · This page in the latest edition