Right now I am working on the logic/theory of how to get this program to work. I can upload the code if it helps. I have to make a phone calculator using JButtons, when the user clicks on a button 0-9 it will send that key to a TextField, continually the user will keep pressing buttons to fill up the textfield to 9 numbers to create the phone number. I have created a button array, and am currently trying to get the buttons to show up in the textField using actionlistener but do not know how to implement the array in the actionlistener because I have the error I cannot invoke actionlistener on an array of JButtons. I was wondering if doing the mousehandler route would be the correct way of doing the button click to show up in the textfield or not.