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

1  
!7
2  
3  
p-awt {
4  
  //showFullScreenImage_noScrollPane(#1009931);
5  
  JTextField tf = jcenteredtextfield();
6  
  JDesktopPane desktop = jTiledBackgroundDesktopPane(#1009931);
7  
  final JPanel bg = jtransparent_recursive(
8  
    jfullcenter(withBottomMargin(550, jMinWidth(400,
9  
      setFontSize(30, tf)))));
10  
  //desktop.add(setBounds(100, 100, 1000, 100, tf));
11  
  desktop.add(bg);
12  
  desktop.setLayout(layoutManagerFromFunction(voidfunc(Container c) {
13  
    bg.setBounds(0, 0, c.getWidth(), c.getHeight());
14  
  }));
15  
  desktop.add(setBounds(100, 400, 300, 200, jInternalFrame("Hello!")));
16  
  showFullScreen(desktop);
17  
  hideConsole();
18  
}

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