Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / ViewFrame.java
index 874673f..0c6ef51 100755 (executable)
@@ -1,12 +1,7 @@
 /*
- * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
- *
+ * 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.*;
@@ -46,7 +41,7 @@ public class ViewFrame extends JFrame implements WindowListener {
         addWindowListener(this);
     }
 
-    public void addResizeListener() {
+    private void addResizeListener() {
         addComponentListener(new ComponentListener() {
             // This method is called after the component's size changes
             @Override