Author: mike892
Date: Fri Jun 19 12:54:42 2009
New Revision: 3096
Modified:
trunk/src/ca/sqlpower/architect/swingui/ArchitectFrame.java
Log:
Modified the LookAndFeel to continue on with the default look and feel and
log the error, instead of throwing a runtime exception, if the System's
look and feel cannot be loaded.
Modified: trunk/src/ca/sqlpower/architect/swingui/ArchitectFrame.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/ArchitectFrame.java (original)
+++ trunk/src/ca/sqlpower/architect/swingui/ArchitectFrame.java Fri Jun 19
12:54:42 2009
@@ -803,7 +803,7 @@
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
- throw new RuntimeException(e);
+ logger.error("Unable to set native look and feel. Continuing
with default.", e);
}
SwingUtilities.invokeLater(new Runnable() {