Update credits (setCursorPosition, minor fixes). #PL-5181

This commit is contained in:
Konstantin Krivopustov 2015-04-08 06:13:46 +00:00
parent bd74337047
commit c14f49b779
3 changed files with 6 additions and 7 deletions

View File

@ -531,9 +531,9 @@ OF SUCH DAMAGE.
<licenses>
<license id="apache-2.0"><![CDATA[
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
@ -994,8 +994,8 @@ NOTE: The text of this Exhibit A may differ slightly from the text of the notice
]]></license>
<license id="lgpl-2.1"><![CDATA[
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

View File

@ -128,8 +128,6 @@ public class CreditsFrame extends AbstractFrame {
sb.append(acknowledgements);
}
// sb.append("<p><a href='#licenses'>Common Licenses</a></p>\n");
sb.append("<h2>Third-party products</h1>\n");
sb.append("<ol>\n");
for (CreditsItem item : items) {

View File

@ -35,6 +35,7 @@ public class LicenseWindow extends AbstractWindow {
if (licenseText != null) {
licenseTextArea.setValue(licenseText);
licenseTextArea.setEditable(false);
licenseTextArea.setCursorPosition(0);
}
}
}