Skip to content

Swing scripts for mouse actions don't provide full information about the event #56

Open
@anatoliykmetyuk

Description

@anatoliykmetyuk

There is a bunch of Swing scripts that are supposed to wait for a mouse event to happen. They have signatures as follows:

mousePressed     (comp: Component, ?p : java.awt.Point)

So they just provide an information about the point where the click happened. But the mouse events generally carry much more information: for example, whether this action triggers a popup menu.

I propose to change ?p: java.awt.Point to correspondent events - ?e: MousePressed in case of the former example. This, however, may break the existing Swing applications, so it requires some work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions