Signed-off-by: Mike Beattie <mike@ethernal.org>
load_library(null);
- AltosUIPreferences.init(new AltosUIPreferencesBackend());
AltosUIPreferences.set_component(this);
pane = getContentPane();
/* Serial debug */
static boolean serial_debug;
- public static void init(AltosUIPreferencesBackend in_backend) {
- AltosPreferences.init(in_backend);
+ public static void init() {
+ AltosPreferences.init(new AltosUIPreferencesBackend());
font_listeners = new LinkedList<AltosFontListener>();
AltosLink.set_debug(serial_debug);
}
+ static { init(); }
+
static void set_component(Component in_component) {
component = in_component;
}