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

9
LINES

< > BotCompany Repo | #1008591 // Swing without a layout manager [WORKS]

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

Uses 3874K of libraries. Click here for Pure Java version (2271L/15K/61K).

1  
!7
2  
3  
p-substance {
4  
  JPanel panel = panelWithoutLayoutManager();
5  
  JTextField tf = jtextfield();
6  
  panel.add(tf);
7  
  tf.setBounds(10, 10, 300, tf.getPreferredSize().height);
8  
  showFrame(panel);
9  
}

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: #1008591
Snippet name: Swing without a layout manager [WORKS]
Eternal ID of this version: #1008591/3
Text MD5: 4c7bdd4d43a0fae94f953cde05e2e4d6
Transpilation MD5: 76aa85f3889d4864a1a33aa587d4cb11
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-25 13:14:48
Source code size: 201 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 492
Version history: 2 change(s)
Referenced in: [show references]