Improved code readability
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / ViewFrame.java
index 89af926..f71e0a5 100755 (executable)
@@ -1,10 +1,7 @@
 /*
- * Sixth 3D engine. Author: Svjatoslav Agejenko. 
+ * Sixth 3D engine. Author: Svjatoslav Agejenko.
  * This project is released under Creative Commons Zero (CC0) license.
- *
-*
  */
-
 package eu.svjatoslav.sixth.e3d.gui;
 
 import javax.swing.*;
@@ -14,6 +11,9 @@ import java.awt.event.ComponentListener;
 import java.awt.event.WindowEvent;
 import java.awt.event.WindowListener;
 
+/**
+ * Java Swing GUI frame that contains canvas for 3D rendering.
+ */
 public class ViewFrame extends JFrame implements WindowListener {
 
     private static final long serialVersionUID = -7037635097739548470L;
@@ -88,6 +88,9 @@ public class ViewFrame extends JFrame implements WindowListener {
         });
     }
 
+    /**
+     * Exit the application.
+     */
     public void exit() {
         if (getViewPanel() != null) {
             getViewPanel().stop();