onMouseEvents(callback, remove)

Class: SwingUI.

Description:

Registers global onMouseEvent event handler that works in all Java apps (but not outside of Java applications).

Parameters:

Name Type Default Description

callback

function

Function to handle the event

remove

boolean

false

Removed the callback from this event

Returns:

Returns this instance of SwingUI class.

Type: SwingUI