In Swing its quite common to write a category that implements ActionListener and insert The present occasion (ie 'this') being an ActionListener for parts. The most typical use from the this keyword is always to remove the confusion between class attributes and parameters Together with the identical name (due to https://thisjav57369.wizzardsblog.com/28837095/the-2-minute-rule-for-free-this-jav