[nbusers] BUTTON CLICKED OR NOT

  • From: "areeda" < >
  • To:
  • Subject: [nbusers] BUTTON CLICKED OR NOT
  • Date: Fri, 23 Nov 2012 19:44:32 -0500

Thomas,

The usual way I do it to attach an action to the button.  This causes a 
particular method of you container's class to be performed.

Then in a situation that I need to know which button closed the form (say OK 
or cancel) I set a field in the class and have a "getter" function to say 
what which button did it.

Joe






[nbusers] BUTTON CLICKED OR NOT

thomastt 11/23/2012

[nbusers] BUTTON CLICKED OR NOT

areeda 11/24/2012

[nbusers] Re: BUTTON CLICKED OR NOT

Bayless Kirtley 11/24/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close