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

18
LINES

< > BotCompany Repo | #1007752 // Test MigLayout [layout doesn't resize]

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

Uses 76K of libraries. Click here for Pure Java version (1886L/13K/47K).

1  
!7
2  
3  
import net.miginfocom.swing.MigLayout;
4  
5  
lib 1007750 // miglayout 4.0
6  
7  
p-awt /*substance*/ {
8  
  JPanel panel = jpanel(new MigLayout);
9  
  panel.add(new JLabel("First Name"));
10  
  panel.add(jtextfield());
11  
  panel.add(new JLabel("Last Name"),   "gap unrelated");
12  
  panel.add(jtextfield(),              "wrap");
13  
  panel.add(new JLabel("Address"));
14  
  panel.add(jtextfield(),              "span, grow");
15  
  showFrame(panel);
16  
}
17  
18  
svoid standardTitlePopupMenu(JFrame frame) {}

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: #1007752
Snippet name: Test MigLayout [layout doesn't resize]
Eternal ID of this version: #1007752/6
Text MD5: 814482a2cc873460683596a96f7c5e36
Transpilation MD5: 965828a45722aa2c8fc9a3521a585761
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-03 18:16:08
Source code size: 482 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 534 / 683
Version history: 5 change(s)
Referenced in: [show references]