I'm new to this forum, and I hope I'm posting this in the right area. I thought this would be best. I'm new to Java as well and am having a bit of a snag. I'm using NetBeans 7.1 and I'm fooling around with the idea of a turn-based RPG style game. Well using code generated by the GUI designer from NetBeans, I'm trying to make sure that when a button is pressed, it's action will only be carried out if it's the users turn. The best way I could really see to do this was have the listeners operate from an external class that controls the flow of battle. I've searched everywhere and in this forum but really all I can tell is that it is possible to do it, but not and real direction as to how. I could really use some insight into this from more experienced programmers.