Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.java.programmer Subject: Re: FIRST...add number in cell but cannot run when i set calculation in button calculate in action performe Date: Mon, 25 Apr 2011 11:06:50 -0400 Organization: The Wasteland Lines: 16 Message-ID: References: NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3248 In article , MOHAMAD HAZIZI BIN MOHAMAD AKHIR wrote: Assuming you question was, "Add number in cell but cannot run when I set calculation in button calculate in action performed," your example does not contain an actionPerformed() method, or even a main() method. You'll get much better answers if you create a Short, Self Contained, Correct Example (SSCCE) . In particular, you don't need dozens of labels and fields. See also "Writing Event Listeners": . -- John B. Matthews trashgod at gmail dot com