Updating for skinning release.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@8245 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-05-10 07:07:33 +00:00
committed by derek
parent 3e4548df4c
commit f26e517114
6 changed files with 30 additions and 12 deletions

View File

@ -103,7 +103,7 @@ public final class MainWindow extends ChatFrame implements ActionListener {
// two singletons.
synchronized (LOCK) {
if (null == singleton) {
MainWindow controller = new MainWindow(Default.getString(Default.APPLICATION_NAME), SparkRes.getImageIcon(SparkRes.MAIN_IMAGE));
MainWindow controller = new MainWindow(Default.getString(Default.APPLICATION_NAME), SparkManager.getApplicationImage());
singleton = controller;
return controller;
}
@ -596,9 +596,9 @@ public final class MainWindow extends ChatFrame implements ActionListener {
// Read file and show
final String errorLogs = URLFileSystem.getContents(logDir);
final JFrame frame = new JFrame("Spark Logs");
final JFrame frame = new JFrame("Client Logs");
frame.setLayout(new BorderLayout());
frame.setIconImage(SparkRes.getImageIcon(SparkRes.MAIN_IMAGE).getImage());
frame.setIconImage(SparkManager.getApplicationImage().getImage());
final JTextPane pane = new JTextPane();
pane.setBackground(Color.white);