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

11
LINES

< > BotCompany Repo | #1018466 // initJavaFX

JavaX fragment (include)

1  
import javafx.embed.swing.JFXPanel;
2  
3  
sbool initJavaFX_done;
4  
5  
svoid initJavaFX() {
6  
  swing {
7  
    if (initJavaFX_done) ret;
8  
    set initJavaFX_done;
9  
    new JFXPanel;  // initializes JavaFX environment
10  
  }
11  
}

Author comment

Began life as a copy of #1018465

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018466
Snippet name: initJavaFX
Eternal ID of this version: #1018466/2
Text MD5: 9c33b99235dff132a0dc0d562ce8a878
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 23:13:26
Source code size: 215 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 322 / 361
Version history: 1 change(s)
Referenced in: [show references]