Java code to separately enter numbers using the same set of jbuttons?

Shammikit

Honorable
Nov 30, 2013
35
0
10,580
i have two textfields to enter pin and account number. i will be entering these numbers using the pin pad i have made using jbuttons. but im only able to enter to one field.is there some code to distinguish between the 2 textfield.like on mouse click on to the relevant textfield input number there. please dont give advanced answers.im very new to java programming.thanks