I'm currently developing a version of MineSweeper in Java for my Special Topics course at Penn State. I've seen lots of versions out there... none utilizing the full benefits of Java and it's object oriented abilities. I've written the underlying model for a truly object-oriented version. I'm now working on the view of the game. I can't seem to find any information on detecting right mouse clicks. I've search high and low for sources that I could study and possibly use or improve upon... nothing but JavaScript examples galore.
Is there anyone who knows how to determine if a right mouse button has clicked on a component? I'm using swing if that matters but any ideas that work strictly in AWT let me know and I'll study them to get the gist of them.
Thanks a bunch in advance!!!!
I hope this helped! ;-)
- Casey Winans
Is there anyone who knows how to determine if a right mouse button has clicked on a component? I'm using swing if that matters but any ideas that work strictly in AWT let me know and I'll study them to get the gist of them.
Thanks a bunch in advance!!!!
I hope this helped! ;-)
- Casey Winans