mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
Merge pull request #4096 from iamutkarshtiwari/bugfix-IconInsteadOfX
Icon instead of an "X" for the "could not connect" message #3706 #4055
This commit is contained in:
@@ -228,8 +228,7 @@ public class ContributionTab extends JPanel {
|
||||
StyleConstants.setAlignment(center, StyleConstants.ALIGN_CENTER);
|
||||
doc.setParagraphAttributes(0, doc.getLength(), center, false);
|
||||
|
||||
// TODO https://github.com/processing/processing/issues/3706
|
||||
closeButton = new JButton("X");
|
||||
closeButton = new JButton(Toolkit.getLibIconX("manager/close"));
|
||||
closeButton.setContentAreaFilled(false);
|
||||
closeButton.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user