1 Reply Latest reply: Apr 2, 2007 2:32 AM by 807596 RSS

    FocusLost event

    807596
      I currently have a screen with a textfield where the user enters an amount then clicks a next button to proceed to the next screen. I added logic so if the amount entered by the user is greater than the amount billed on the screen I am displaying al jlabel to inform the user. My problem is that if the user types in the amount and changes focus to a comments field the label displays, but if the user simply clicks the next button the label shows but only for a second before moving to the next screen. So my question is, are there any other events I can use on the jtextfield instead of focuslost to display the message I need before the user clicks next.