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

4
LINES

< > BotCompany Repo | #1025772 // execFileChooser

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

Libraryless. Click here for Pure Java version (29L/1K).

static File execFileChooser(JFileChooser fileChooser) {
  ret fileChooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION
    ? fileChooser.getSelectedFile() : null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025772
Snippet name: execFileChooser
Eternal ID of this version: #1025772/1
Text MD5: 1160d3d11a5686ea2ab79a49e4dcc038
Transpilation MD5: e2da46645b256cb94607cb48a4e3eee1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-18 23:04:24
Source code size: 174 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 236 / 312
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)