PeterNguyen9901 / groupproject-team-0100

groupproject-team-0100 created by GitHub Classroom
0 stars 0 forks source link

Separate event handlers #2

Open PeterNguyen9901 opened 1 year ago

PeterNguyen9901 commented 1 year ago

Like javascript's purpose, it is important to have the page content and action events in separate classes.

In menu.java, it contains each page and for each page function, mouse listener event handlers are included with the page content.

To implement, create separate event handler functions on a different page to work with the content class.