2 button clicking in java

how can i make a program which generate result if 2 buttons are clicked one another.in JFrame in java
1 person has
this question
+1
Reply