Index: trunk/src/tmcsim/paramicslog/gui/ParamicsLogGUI.java
===================================================================
--- trunk/src/tmcsim/paramicslog/gui/ParamicsLogGUI.java	(revision 2)
+++ trunk/src/tmcsim/paramicslog/gui/ParamicsLogGUI.java	(revision 47)
@@ -1,39 +1,52 @@
 package tmcsim.paramicslog.gui;
 
-import javax.swing.*;
 import java.awt.event.WindowEvent;
 import java.util.*;
+import javax.swing.*;
 
 /**
- * The UI for ParamicsLog. 
+ * The UI for ParamicsLog.
+ *
  * @author Nathaniel Lehrer
  * @version
  */
-public class ParamicsLogGUI extends JFrame implements Observer {
+public class ParamicsLogGUI extends JFrame implements Observer
+{
 
-    /** The static instance */
+    /**
+     * The static instance
+     */
     private static ParamicsLogGUI instance = new ParamicsLogGUI();
+    /**
+     * The text area to display the log in
+     */
+    private JTextArea textArea;
 
-    /** The text area to display the log in */
-    private JTextArea textArea;
-    
-    /** Creates an instance of this class */
-    public ParamicsLogGUI() {
-        
+    /**
+     * Creates an instance of this class
+     */
+    public ParamicsLogGUI()
+    {
+
         setupGUI();
     }
-    
-    /** Creates the UI */
+
+    /**
+     * Creates the UI
+     */
     private void setupGUI()
     {
-        try {
+        try
+        {
             UIManager.setLookAndFeel(
-                UIManager.getSystemLookAndFeelClassName());
-        } catch (Exception e) {
+                    UIManager.getSystemLookAndFeelClassName());
+        } catch (Exception ex)
+        {
+            System.out.println(ex.getMessage());
             System.err.println("Couldn't use system look and feel.");
         }
-        
-        this.addWindowListener(new java.awt.event.WindowAdapter() {
-            
+
+        this.addWindowListener(new java.awt.event.WindowAdapter()
+        {
             public void windowClosing(WindowEvent e)
             {
@@ -41,18 +54,20 @@
             }
         });
-        
-        
+
+
         setTitle("Paramics Log");
-        
+
         textArea = new JTextArea();
         textArea.setColumns(60);
         textArea.setRows(30);
         JScrollPane scrollPane = new JScrollPane(textArea);
-        
+
         getContentPane().add(scrollPane);
-        
+
     }
-    
-    /** Shows the UI window */
+
+    /**
+     * Shows the UI window
+     */
     public void display()
     {
@@ -62,6 +77,7 @@
 
     /**
-     * Updates the text area. If the observable class given is of type ParamicsLog then
-     * the log entries are displayed.
+     * Updates the text area. If the observable class given is of type
+     * ParamicsLog then the log entries are displayed.
+     *
      * @param o The model for this viewer.
      * @param arg An argument that is not used.
@@ -72,16 +88,17 @@
         {
             textArea.setText(((tmcsim.paramicslog.ParamicsLog) o).getLog());
-        } 
+        }
 
         repaint();
     }
-    
+
     /**
      * Accessor for the instance of ParamicsLogGUI.
+     *
      * @return The instance of ParamicsLogGUI.
      */
-    public static ParamicsLogGUI getInstance() {
+    public static ParamicsLogGUI getInstance()
+    {
         return instance;
     }
-    
 }
