RE: [JAVA] Tic Tac Toe 05-21-2013, 06:03 AM
#7
(05-20-2013, 10:46 PM)ArkPhaze Wrote: What are the empty void's for? lol.
He extends the MouseListener interface, so he has to implement all methods of that interface no matter if he needs them or not.
Feurex gave the right suggestion here, which is implementing the MouseAdapter instead. But actually the MouseAdapter is also just a class with empty method implementations.
Have you ever heard that Java is verbose? It definitely is. My reason to switch to Scala--it looks like the child of Java and Haskell.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
Expressed feelings are just an attempt to simulate humans.
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)