mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
* Added Font Size preferences.
* Added enabling of debugger through advanced login page. git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@8395 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -14,22 +14,21 @@ import de.javasoft.plaf.synthetica.SyntheticaBlueMoonLookAndFeel;
|
||||
import de.javasoft.plaf.synthetica.SyntheticaLookAndFeel;
|
||||
import org.jivesoftware.resource.Default;
|
||||
import org.jivesoftware.smack.XMPPConnection;
|
||||
import org.jivesoftware.smackx.debugger.EnhancedDebuggerWindow;
|
||||
import org.jivesoftware.spark.util.log.Log;
|
||||
import org.jivesoftware.sparkimpl.settings.local.LocalPreferences;
|
||||
import org.jivesoftware.sparkimpl.settings.local.SettingsManager;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* In many cases, you will need to know the structure of the Spark installation, such as the directory structures, what
|
||||
* type of system Spark is running on, and also the arguments which were passed into Spark on startup. The <code>Spark</code>
|
||||
@ -59,11 +58,6 @@ public final class Spark {
|
||||
}
|
||||
|
||||
public void startup() {
|
||||
EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true;
|
||||
EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10;
|
||||
XMPPConnection.DEBUG_ENABLED = true;
|
||||
|
||||
|
||||
String current = System.getProperty("java.library.path");
|
||||
String classPath = System.getProperty("java.class.path");
|
||||
|
||||
@ -308,6 +302,7 @@ public final class Spark {
|
||||
public static String getUserHome() {
|
||||
return USER_HOME;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Spark directory for the current user (user.home). The user home is where all user specific
|
||||
* files are placed to run Spark within a multi-user system.
|
||||
|
||||
Reference in New Issue
Block a user