jshell: fix run/clear tooltips
This commit is contained in:
@@ -117,7 +117,7 @@ public abstract class ShellPanel extends JPanel
|
||||
topPanel.add(run);
|
||||
|
||||
JButton clear = new JButton("🗑");
|
||||
run.setToolTipText("Clear console");
|
||||
clear.setToolTipText("Clear console");
|
||||
clear.addActionListener(ev -> console.setText(""));
|
||||
topPanel.add(clear);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user