School Java Project Chinese Chess (6)

Moving pieces with a mouse

This day arrives finally. We’ll use mouse to tell our app to do something for us dynamically, instead of writing the predefined instructions in our source code. New terminologies like interface, listener sound really scaring, at least to me when I first learned Java, which was the first Object Oriented programming language I encountered. By the main idea…