Dear forum,
I am currently working on a code that will allow an employee to add an integer value to one of many text fields.
I have a list of text fields that indicate times (5 AM - 5 PM) i have set them to not editable. How ever i would like to have a new frame pop up when a user clicks on the JTextField... at the moment if you add a normal actionlistener such as the button ones it will only execute the code if the enter key is pressed.
And no i do not wish to replace them with buttons as the design will look terrible if so. So in the short run i need to know how to execute data if the JTextField is clicked and not the enter key pressed.