Updating Spark for JNIWrapper support.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@6461 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-12-21 05:03:53 +00:00
committed by derek
parent 8f85383296
commit 12070998a9
7 changed files with 28 additions and 22 deletions

View File

@ -10,25 +10,24 @@
package org.jivesoftware;
import de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel;
import org.jivesoftware.resource.Default;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smackx.debugger.EnhancedDebuggerWindow;
import org.jivesoftware.spark.util.log.Log;
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.awt.Insets;
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;
/**
* 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>
@ -114,13 +113,7 @@ public final class Spark {
String classname = UIManager.getSystemLookAndFeelClassName();
if (classname.indexOf("Windows") != -1) {
JFrame.setDefaultLookAndFeelDecorated(true);
// finally set the Skin Look And Feel
UIManager.setLookAndFeel(new com.jgoodies.looks.windows.WindowsLookAndFeel());
UIManager.setLookAndFeel(new SyntheticaStandardLookAndFeel());
}
else if (classname.indexOf("mac") != -1 || classname.indexOf("apple") != -1) {