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

11
LINES

< > BotCompany Repo | #1024925 // chessOCR_splashScreen

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

Libraryless. Click here for Pure Java version (5405L/38K).

1  
static JWindow chessOCR_splashScreen(S backgroundID, O... _) {
2  
  optPar S text = "Chess Board Recognizer Loading";
3  
  
4  
  ret showCenterPackedWindow(
5  
    centerAndSouthWithMargins(
6  
      jimage(resizeImage(600, loadImage2(backgroundID))),
7  
      centerAndEastWithMargin(
8  
        fontSizePlus(4, jCenteredBoldLabel(text)),
9  
        fontSizeMinus(2, jButton("TROUBLESHOOT", rThread showConsole)))
10  
      ));
11  
}

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: #1024925
Snippet name: chessOCR_splashScreen
Eternal ID of this version: #1024925/11
Text MD5: caad4da1e3f5bfd24b3ba430bf11cb10
Transpilation MD5: dda41e5862954f4c2a26af7b219d9690
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-30 18:51:18
Source code size: 412 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 271 / 400
Version history: 10 change(s)
Referenced in: [show references]