mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Symptom: With dark mode enabled the inner Swing content area now had dark panels (good) but tab labels, table cells, status-bar labels and button text were rendering nearly black-on-dark (bad). Root cause: UIManager.getLookAndFeelDefaults() lookups for FlatLaf's component foreground keys still resolve to Metal-era dark values after the JIDE install + FlatLaf re-apply, because some FlatLaf keys are derived / LazyValue and recompute against state that JIDE seeded. Fix: After the bulk FlatLaf-defaults copy, explicitly UIManager.put the foreground / background / selection / disabled / border colors for every standard Swing component family. UIManager.put writes to the user-defaults layer that takes precedence over the LAF defaults, so these overrides win regardless of what JIDE or derived-value resolution produces. Also bump the JavaFX dark stylesheet text colour from #d6d6d6 to #ececec so labels read closer to white on the dark panels.