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

!7

import net.miginfocom.swing.MigLayout;

lib 1007750 // miglayout 4.0

p-awt /*substance*/ {
  JPanel panel = jpanel(new MigLayout);
  panel.add(new JLabel("First Name"));
  panel.add(jtextfield());
  panel.add(new JLabel("Last Name"),   "gap unrelated");
  panel.add(jtextfield(),              "wrap");
  panel.add(new JLabel("Address"));
  panel.add(jtextfield(),              "span, grow");
  showFrame(panel);
}

svoid standardTitlePopupMenu(JFrame frame) {}

download  show line numbers  debug dex   

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

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: 277 / 332
Version history: 5 change(s)
Referenced in: -

Formerly at http://tinybrain.de/1007752 & http://1007752.tinybrain.de