First off, I like to create my own algorithms, its good practice.
So I am making a simple Tic Tac Toe game and everything works perfectly except...
When it is the computers turn I want the computer to figure out which button Jpanel to click or perform an action on (which I have the searching algorithm figured out). I just need to know how to have the computer "automatically" fire the actionevent OR create my own actionevent and fire it.
Is there a method I should call?
Any wisdom, hints, tips, or help is appreciated.