|
@@ -30,9 +30,6 @@ import com.dmdirc.interfaces.ui.AboutDialogModel;
|
30
|
30
|
import com.dmdirc.ui.core.about.Licence;
|
31
|
31
|
import com.dmdirc.ui.core.about.LicensedComponent;
|
32
|
32
|
|
33
|
|
-import com.google.common.base.Joiner;
|
34
|
|
-import com.google.common.base.Splitter;
|
35
|
|
-
|
36
|
33
|
import java.awt.Font;
|
37
|
34
|
import java.awt.Rectangle;
|
38
|
35
|
|
|
@@ -145,8 +142,7 @@ public class LicencesPanel extends JPanel implements TreeSelectionListener {
|
145
|
142
|
licence.setText(
|
146
|
143
|
"<h3 style='margin: 3px; padding: 0px 0px 5px 0px;'>"
|
147
|
144
|
+ ((Licence) userObject).getName() + "</h3>"
|
148
|
|
- + Joiner.on("<br>").join(
|
149
|
|
- Splitter.on('\n').split(((Licence) userObject).getBody())));
|
|
145
|
+ + ((Licence) userObject).getBody().replaceAll("\\n", "<br>"));
|
150
|
146
|
} else if (userObject instanceof LicensedComponent) {
|
151
|
147
|
final LicensedComponent lc = (LicensedComponent) userObject;
|
152
|
148
|
licence.setText("<b>Name:</b> "
|