consistent url formatting
This commit is contained in:
parent
5dcbb11f41
commit
653618e83e
@ -58,28 +58,28 @@ public class AboutDialog extends JDialog {
|
||||
"Sibo Van Gool (Dutch)<br>" +
|
||||
"<br>" +
|
||||
"See all contributors at <br>" +
|
||||
href("https://github.com/openrocket/openrocket/graphs/contributors") + "<br>" +
|
||||
href("https://github.com/openrocket/openrocket/graphs/contributors", false) + "<br>" +
|
||||
"<br>" +
|
||||
"<b>OpenRocket utilizes the following libraries:</b><br>" +
|
||||
"<br>" +
|
||||
"MiG Layout (" + href("http://www.miglayout.com/") + ")<br>" +
|
||||
"JFreeChart (" + href("http://www.jfree.org/jfreechart/") + ")<br>" +
|
||||
"iText (" + href("http://www.itextpdf.com/") + ")<br>" +
|
||||
"exp4j (" + href("http://projects.congrace.de/exp4j/index.html") + ")<br>" +
|
||||
"JOGL (" + href("http://jogamp.org/jogl/www/") + ")<br>" +
|
||||
"Guava (" + href("https://github.com/google/guava") + ")<br>" +
|
||||
"Opencsv (" + href("http://opencsv.sourceforge.net/") + ")<br>" +
|
||||
"Simple Logging Facade for Java (" + href("http://www.slf4j.org/") + ")<br>" +
|
||||
"Java library for parsing and rendering CommonMark (" + href("https://github.com/commonmark/commonmark-java") + ")<br>" +
|
||||
"MiG Layout " + href("http://www.miglayout.com/", true) + "<br>" +
|
||||
"JFreeChart " + href("http://www.jfree.org/jfreechart/", true) + "<br>" +
|
||||
"iText " + href("http://www.itextpdf.com/", true) + "<br>" +
|
||||
"exp4j " + href("http://projects.congrace.de/exp4j/index.html", true) + "<br>" +
|
||||
"JOGL " + href("http://jogamp.org/jogl/www/", true) + "<br>" +
|
||||
"Guava " + href("https://github.com/google/guava", true) + "<br>" +
|
||||
"Opencsv " + href("http://opencsv.sourceforge.net/", true) + "<br>" +
|
||||
"Simple Logging Facade for Java " + href("http://www.slf4j.org/", true) + "<br>" +
|
||||
"Java library for parsing and rendering CommonMark " + href("https://github.com/commonmark/commonmark-java", true) + "<br>" +
|
||||
"<br>" +
|
||||
"<b>OpenRocket gratefully acknowledges our use of the following databases:</b><br>" +
|
||||
"<br>" +
|
||||
"Rocket Motor Data (" + href("https://www.thrustcurve.org/") + ")<br>" +
|
||||
"Enhanced components database for OpenRocket" + href("https://github.com/dbcook/openrocket-database/") + ")" +
|
||||
"</center></html>";
|
||||
"Rocket Motor Data " + href("https://www.thrustcurve.org/", true) + "<br>" +
|
||||
"Enhanced components database for OpenRocket" + href("https://github.com/dbcook/openrocket-database/", true) +
|
||||
"</center></html>";
|
||||
|
||||
private String href(String url) {
|
||||
return "<a href=\"" + url + "\">" + url + "</a>";
|
||||
private String href(String url, boolean delimiters) {
|
||||
return (delimiters ? "(" : "") + "<a href=\"" + url + "\">" + url + "</a>" + (delimiters ? ")" : "");
|
||||
}
|
||||
|
||||
public AboutDialog(JFrame parent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user