I have the following code. I have a button on the frame.
I want some action to be preformed on the button click. Please guide me how to do so.Code:
Button b = new Button("Hello");
Frame f = new Frame("Java Frame");
f.add(b, BorderLayout.NORTH );