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))) )); }