diff --git a/diylc/diylc-swing/src/org/diylc/swing/plugins/help/HelpMenuPlugin.java b/diylc/diylc-swing/src/org/diylc/swing/plugins/help/HelpMenuPlugin.java index b356c4e9..bfa258c9 100644 --- a/diylc/diylc-swing/src/org/diylc/swing/plugins/help/HelpMenuPlugin.java +++ b/diylc/diylc-swing/src/org/diylc/swing/plugins/help/HelpMenuPlugin.java @@ -82,12 +82,24 @@ public class HelpMenuPlugin implements IPlugIn { @Override public void processMessage(EventType eventType, Object... params) {} + + private static final String LICENSE_TEXT = "
This program is free software: you can redistribute it and/or modify" + + " it under the terms of the GNU General Public License as published by" + + " the Free Software Foundation, either version 3 of the License, or" + + " (at your option) any later version.
" + + "This program is distributed in the hope that it will be useful," + + " but WITHOUT ANY WARRANTY; without even the implied warranty of" + + " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" + + " GNU General Public License for more details.
" + + "You should have received a copy of the GNU General Public License" + + " along with this program. If not, see https://www.gnu.org/licenses.
"; private AboutDialog getAboutDialog() { if (aboutDialog == null) { aboutDialog = DialogFactory.getInstance().createAboutDialog("DIY Layout Creator", IconLoader.IconLarge.getIcon(), plugInPort.getCurrentVersionNumber().toString(), "Branislav Stojkovic", - "github.com/bancika/diy-layout-creator", "bancika@gmail.com", ""); + "github.com/bancika/diy-layout-creator", "bancika@gmail.com", LICENSE_TEXT); + aboutDialog.setSize(aboutDialog.getSize().width + 30, aboutDialog.getSize().height + 200); } return aboutDialog; }