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