X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2FViewFrame.java;h=29cf98ff451337a872c66cbfe110a4ab493264fb;hb=a40c9c2a3ef372ea0f2c87af644ca2302315baca;hp=874673f6d18edd561dfeffc77e1a3fc5b5084de7;hpb=96f76bab30b47db83a1c9061b8916c69657f1e13;p=sixth-3d.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewFrame.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewFrame.java index 874673f..29cf98f 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewFrame.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewFrame.java @@ -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