Hi friends.
How can I do ActionListener to a button with pressing the Enter key in keyboard?
My code is this:


import javax.swing.*;
import java.awt.*;
public class myclass{
public static...