Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
weisJ committed Jun 21, 2020
1 parent 89b9ed5 commit 17828c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/test/java/ui/toolTip/ToolTipDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public JComponent createComponent() {
ToolTipContext context = new ToolTipContext(button).setAlignment(Alignment.CENTER)
.setCenterAlignment(Alignment.SOUTH);
ToolTipContext.setDefaultContext(context);
button.setToolTipText(StringUtil.toHtml(
"<p style=\"color:red;\">This is the ToolTip demo text!\n"
button.setToolTipText(StringUtil.toHtml("<p style=\"color:red;\">This is the ToolTip demo text!\n"
+ "<p style=\"color:blue;\">This is the ToolTip demo text!\n"
+ "<p style=\"color:green;\">This is the ToolTip demo text!\n"));
button.putClientProperty(DarkToolTipUI.KEY_STYLE, DarkToolTipUI.VARIANT_BALLOON);
Expand Down

0 comments on commit 17828c3

Please sign in to comment.