Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1036084 // ptFromEvent

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (136L) is out of date.

static Pt ptFromEvent(MouseEvent e) {
  ret e == null ?: pt(e.getX(), e.getY());
}

Author comment

Began life as a copy of #1035242

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036084
Snippet name: ptFromEvent
Eternal ID of this version: #1036084/6
Text MD5: ad4dc2c7c172425ede501621a0b0a68c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-07 03:58:50
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 132 / 195
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)