/** Constructor. */
public AboutLicensePanel(GanttProject parent) {
super(GanttLanguage.getInstance().getText("license"), GanttLanguage
.getInstance().getText("settingsLicense"), parent);
JTextArea taLicense = new JTextArea();
StringBuffer text = new StringBuffer();
text
.append("This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ");
text
.append("Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\n");
text
.append("This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied ");
text
.append("warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\n");
text
.append("You should have received a copy of the GNU General Public License along with this program; if not, write to the Free ");
text
.append("Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n");
text
.append("Browse the entire GPL license at http://www.gnu.org/copyleft/gpl.html\n");
taLicense.setText(text.toString());
taLicense.setEditable(false);
taLicense.setLineWrap(true);
taLicense.setWrapStyleWord(true);
JPanel licensePanel = new JPanel(new BorderLayout());
licensePanel.add(new JScrollPane(taLicense), BorderLayout.CENTER);
licensePanel.setPreferredSize(new Dimension(400, 350));
vb.add(licensePanel);