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).

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

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: 269 / 397
Version history: 10 change(s)
Referenced in: [show references]