|
-
JButton help
I've done some reading on swing and JButtons but obviously not enough. I'm confused I have a program that uses JButtons and is essential that when the button is pressed it executes the code within the action performed method once (its a counter that increases once each time the button is pressed). But when the button is pressed once it continues to loop until the button is pressed again, then it starts with a loop all over again. Is this normal? and how do I get it to stop?
Similar Threads
-
By Asymptote in forum Java
Replies: 0
Last Post: 05-29-2006, 10:09 PM
-
By Java_Noob in forum Java
Replies: 7
Last Post: 03-07-2006, 04:34 PM
-
By Apocalyp5e in forum Java
Replies: 11
Last Post: 12-22-2005, 08:03 PM
-
Replies: 1
Last Post: 07-26-2001, 11:32 AM
-
Replies: 0
Last Post: 11-28-2000, 03:39 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks