Skip to content

Commit 448f920

Browse files
icon placed in correct location
1 parent 29bc3cb commit 448f920

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)