Skip to content

Commit 04744d6

Browse files
committed
Merge pull request processing#4096 from iamutkarshtiwari/bugfix-IconInsteadOfX
Icon instead of an "X" for the "could not connect" message processing#3706 processing#4055
2 parents 4ebc40c + 448f920 commit 04744d6

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

app/src/processing/app/contrib/ContributionTab.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ protected void buildErrorPanel() {
228228
StyleConstants.setAlignment(center, StyleConstants.ALIGN_CENTER);
229229
doc.setParagraphAttributes(0, doc.getLength(), center, false);
230230

231-
// TODO https://github.com/processing/processing/issues/3706
232-
closeButton = new JButton("X");
231+
closeButton = new JButton(Toolkit.getLibIconX("manager/close"));
233232
closeButton.setContentAreaFilled(false);
234233
closeButton.addActionListener(new ActionListener() {
235234
public void actionPerformed(ActionEvent e) {
337 Bytes
Loading
623 Bytes
Loading

0 commit comments

Comments
 (0)