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

18
LINES

< > BotCompany Repo | #1009940 // lalala 3 [OK, just Esc doesn't always work]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (1490L/11K).

!7

p-awt {
  //showFullScreenImage_noScrollPane(#1009931);
  JTextField tf = jcenteredtextfield();
  JDesktopPane desktop = jTiledBackgroundDesktopPane(#1009931);
  final JPanel bg = jtransparent_recursive(
    jfullcenter(withBottomMargin(550, jMinWidth(400,
      setFontSize(30, tf)))));
  //desktop.add(setBounds(100, 100, 1000, 100, tf));
  desktop.add(bg);
  desktop.setLayout(layoutManagerFromFunction(voidfunc(Container c) {
    bg.setBounds(0, 0, c.getWidth(), c.getHeight());
  }));
  desktop.add(setBounds(100, 400, 300, 200, jInternalFrame("Hello!")));
  showFullScreen(desktop);
  hideConsole();
}

Author comment

Began life as a copy of #1009935

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009940
Snippet name: lalala 3 [OK, just Esc doesn't always work]
Eternal ID of this version: #1009940/11
Text MD5: 9c068906b3fbb663dbce88a2beca2a34
Transpilation MD5: 6fbcba77837a9704791478331c082a2c
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-27 03:27:28
Source code size: 628 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 1237
Version history: 10 change(s)
Referenced in: #1009943 - lalala 4 [with Substance, has weird white border]
#1009944 - lalala 5 [OK]