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

6
LINES

< > BotCompany Repo | #1025773 // showFileChooserWithDefaultDir

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

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

1  
static File showFileChooserWithDefaultDir(S title, File defaultDir) {
2  
  new JFileChooser fc;
3  
  fc.setDialogTitle(title);
4  
  fc.setCurrentDirectory(defaultDir);
5  
  ret execFileChooser(fc);
6  
}

Author comment

Began life as a copy of #1024590

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: #1025773
Snippet name: showFileChooserWithDefaultDir
Eternal ID of this version: #1025773/1
Text MD5: 96c2771338f6bab8466aa2881661ff84
Transpilation MD5: 1aff17d141804d7043115a63c77b6c74
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:05:35
Source code size: 192 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 265
Referenced in: [show references]