Button array event handling
I am writing a calculator java program which looks just like that one comes
in windows program/accessories. It has all the Number key as buttons. I don't
want to deal with every Button's event seperately. I want to put all button
into a array or whatever collection and write one event handling procedure
to deal with all click event.
Anyone has any ideas.
Thanks in advance!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL