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

25
LINES

< > BotCompany Repo | #1015794 // Cubes Frame [dev.]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7400L/49K).

!7

p-subst {
  //showFullScreenImage_noScrollPane(#1009931);
  JTextField tf = jcenteredtextfield();
  final JPanel bg = jTiledBackground(#1009931,
    jfullcenter(withBottomMargin(550, jMinWidth(400,
      setFontSize(30, tf)))));
  swing {
    new JLayeredPane layers;
    layers.add(bg, 0);
    layers.setLayout(layoutManagerFromFunction(voidfunc(Container c) {
      bg.setBounds(0, 0, c.getWidth(), c.getHeight());
    }));
    new JDesktopPane dt;
    layers.add(dt, 1);
    showMaximizedFrame(layers);
    
    JInternalFrame f = setBounds(100, 400, 300, 200, jInternalFrame("Hello!"));
    dt.add(f);
    f.setSelected(true);
    fixInternalFrame(f);
    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: #1015794
Snippet name: Cubes Frame [dev.]
Eternal ID of this version: #1015794/5
Text MD5: 714e099ef14bbb6ffca56cdbf783550c
Transpilation MD5: 4d190a7d16ea3bf8d0dc0945582bd14c
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-27 21:24:20
Source code size: 708 bytes / 25 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 1020
Version history: 4 change(s)
Referenced in: