From 1b9a5e06165697ab36a3718887a10a9fc16ffb03 Mon Sep 17 00:00:00 2001 From: Tobi Delbruck Date: Wed, 15 May 2024 14:55:13 +0200 Subject: [PATCH] added commented code to determine preference location to debug why new install does not use my old prefs. --- src/net/sf/jaer/graphics/AEViewer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/net/sf/jaer/graphics/AEViewer.java b/src/net/sf/jaer/graphics/AEViewer.java index 136ef56d0..49f0fc9be 100644 --- a/src/net/sf/jaer/graphics/AEViewer.java +++ b/src/net/sf/jaer/graphics/AEViewer.java @@ -381,6 +381,10 @@ public AEViewer(JAERViewer jaerViewer, String chipClassName) { Logger.getLogger("").addHandler(loggingHandler); log.info("AEViewer starting up..."); + + // log prefs info to debug location of prefs + // unfortunately this returns null always, seems no way to find out +// log.info(String.format("Preferences storage is located at %s",System.getProperty("java.util.prefs.userRoot"))); if (chipClassName == null) { aeChipClassName = prefs.get("AEViewer.aeChipClassName", DEFAULT_CHIP_CLASS);