aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/net/java/dev/typecast/app/editor/Main.java16
-rw-r--r--src/net/java/dev/typecast/app/editor/Main.properties7
2 files changed, 17 insertions, 6 deletions
diff --git a/src/net/java/dev/typecast/app/editor/Main.java b/src/net/java/dev/typecast/app/editor/Main.java
index 4b53f26..77aab4a 100644
--- a/src/net/java/dev/typecast/app/editor/Main.java
+++ b/src/net/java/dev/typecast/app/editor/Main.java
@@ -1,9 +1,9 @@
/*
- * $Id: Main.java,v 1.3 2007-01-26 00:06:19 davidsch Exp $
+ * $Id: Main.java,v 1.4 2007-02-05 12:39:16 davidsch Exp $
*
* Typecast - The Font Development Environment
*
- * Copyright (c) 2004-2005 David Schweinsberg
+ * Copyright (c) 2004-2007 David Schweinsberg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,6 +54,7 @@ import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.JTree;
import javax.swing.ToolTipManager;
+import javax.swing.UIManager;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
@@ -90,7 +91,7 @@ import net.java.dev.typecast.app.framework.EditorView;
/**
* @author <a href="mailto:[email protected]">David Schweinsberg</a>
- * @version $Id: Main.java,v 1.3 2007-01-26 00:06:19 davidsch Exp $
+ * @version $Id: Main.java,v 1.4 2007-02-05 12:39:16 davidsch Exp $
*/
public class Main {
@@ -139,6 +140,13 @@ public class Main {
// CharacterMap.class));
try {
+ // Set the L&F appropriate for the OS
+ // (Mac automatically selects Aqua, but Windows goes for Metal)
+ if (System.getProperty("os.name").startsWith("Windows")) {
+ UIManager.setLookAndFeel(
+ "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
+ }
+
// Load the user's application preferences
_appPrefs.load(Preferences.userNodeForPackage(getClass()));
@@ -395,6 +403,8 @@ public class Main {
"\n" +
_rb.getString("Typecast.copyright") +
"\n" +
+ _rb.getString("Typecast.copyright2") +
+ "\n" +
_rb.getString("Typecast.webHome"),
_rb.getString("Typecast.about.title"),
JOptionPane.INFORMATION_MESSAGE);
diff --git a/src/net/java/dev/typecast/app/editor/Main.properties b/src/net/java/dev/typecast/app/editor/Main.properties
index 28a125d..59d2628 100644
--- a/src/net/java/dev/typecast/app/editor/Main.properties
+++ b/src/net/java/dev/typecast/app/editor/Main.properties
@@ -1,9 +1,9 @@
#
-# $Id: Main.properties,v 1.4 2007-01-26 00:04:10 davidsch Exp $
+# $Id: Main.properties,v 1.5 2007-02-05 12:39:16 davidsch Exp $
#
# Typecast - The Font Development Environment
#
-# Copyright (c) 2004-2005 David Schweinsberg
+# Copyright (c) 2004-2007 David Schweinsberg
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -20,8 +20,9 @@
Typecast.title=Typecast
Typecast.version=0.5.2
-Typecast.shortDesc=The Font Development Environment
+Typecast.shortDesc=An OpenType Font Development Environment
Typecast.copyright=Copyright \u00a9 2004-2007 David Schweinsberg
+Typecast.copyright2=Portions Copyright \u00a9 1999-2003 The Apache Software Foundation
Typecast.webHome=typecast.dev.java.net
Typecast.about.title=About Typecast