|
@@ -77,6 +77,7 @@ public class Console extends JScrollPane {
|
|
|
public void mouseReleased(MouseEvent e) {
|
|
|
if (e.getButton() == e.BUTTON3) {
|
|
|
itemClear.setEnabled(!consoleText.getText().isEmpty());
|
|
|
+ itemCopy.setEnabled(consoleText.getSelectedText() != null);
|
|
|
popmenu.show(e.getComponent(), e.getX(), e.getY());
|
|
|
}
|
|
|
}
|