mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
- Apply Swing LAF synchronously on the calling thread so the main JFrame's RootPane has a populated UIDefaults set when constructed. Previously the LAF install was scheduled via EventQueue.invokeLater, so JFrame construction raced ahead and threw "no ComponentUI class for: javax.swing.JPanel". - Call LookAndFeelFactory.installJideExtension(VSNET_STYLE) with an explicit style instead of the no-arg auto-detection variant. The auto-detection path probes com.sun.java.swing.plaf.windows.WindowsLookAndFeel via Class.forName, which is absent on non-Windows JDKs and threw ClassNotFoundException at startup. - Bounce only the SwingUtilities.updateComponentTreeUI walk through the EDT so it redraws already-realized windows on theme toggle.