diff options
author | Marko Živković <[email protected]> | 2014-12-16 02:05:55 +0000 |
---|---|---|
committer | Marko Živković <[email protected]> | 2014-12-16 02:05:55 +0000 |
commit | 57d6b0c6b96097afa06a38cc2456997ad9b60187 (patch) | |
tree | bfe3a958145cdaba3fe3114f8d167aa72c2ca1a4 /logo/src/xlogo/AppSettings.java | |
parent | b12c21a1f4c88c70faa678f1b53d05383009f937 (diff) |
- USB Stick Recognition, automatically propose workspace
- New Default Workspace in user home directory
- Automatically select last active user now works
- Several bug fixes and minor changes
git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@11 3b0d7934-f7ef-4143-9606-b51f2e2281fd
Diffstat (limited to 'logo/src/xlogo/AppSettings.java')
-rw-r--r-- | logo/src/xlogo/AppSettings.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/logo/src/xlogo/AppSettings.java b/logo/src/xlogo/AppSettings.java index 60cc1e7..c746282 100644 --- a/logo/src/xlogo/AppSettings.java +++ b/logo/src/xlogo/AppSettings.java @@ -5,6 +5,9 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener;
import java.util.ArrayList;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+
import xlogo.storage.workspace.Language;
import xlogo.storage.workspace.SyntaxHighlightConfig;
@@ -17,6 +20,8 @@ import xlogo.storage.workspace.SyntaxHighlightConfig; */
public class AppSettings
{
+ private static Logger logger = LogManager.getLogger(AppSettings.class.getSimpleName());
+
private static AppSettings instance;
public static AppSettings getInstance()
@@ -41,6 +46,7 @@ public class AppSettings {
if (language == this.language)
return;
+ logger.trace("Change language from " + this.language + " to " + language);
this.language = language;
Logo.generateLanguage(language);
notifyLanguageChanged();
|