🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7886

InputVerifier and JButtons

#7886
From: Ernesto Bascon Pantoja
Date: Wed, 06 Dec 2000 00:00
15 lines
1078 bytes
Hi:

I have a JFrame with several JTextFields each one with its respective 
InputVerifier instances. I added several JButtons to my JFrame (e.g. 
"Yes", "No", "Cancel", "Next", etc.).

Well, when I have wrong values in a JTextField and I press any JButton, 
the button's actionEvent no matter if the inputVerifier's verify() 
function returns false.
How can I do to help executing the JButton's ActionPerformed method?

Thanks in advance


Ernesto
Technical Details
Message-ID: <3A2EB753.3020108@ucbcba.edu.bo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6af886dca9bf2ee7,start
X-Google-Attributes: gid111d45,public
From: Ernesto Bascon Pantoja <bascone@ucbcba.edu.bo>
Subject: InputVerifier and JButtons
Date: 2000/12/06
Message-ID: <3A2EB753.3020108@ucbcba.edu.bo>
X-Deja-AN: 701924540
Content-Transfer-Encoding: 7bit
Organization: IIIA - UCB Cbba.
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii; format=flowed
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing