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

22
LINES

< > BotCompany Repo | #1016703 // Reproduce WebLAF Bug

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

Download Jar. Libraryless. Click here for Pure Java version (2853L/20K).

!7

set flag LeanMode.

p {
  installWebLAF();
  swing {
    JDesktopPane desktop = new JDesktopPane();
    JFrame bigFrame = new JFrame();
    bigFrame.add(desktop);
    bigFrame.setBounds(0, 0, 500, 500);
    bigFrame.setVisible(true);
    
    JInternalFrame frame = new JInternalFrame("Resize me!", true, true, true);
    frame.setBounds(100, 100, 300, 200);
    frame.setVisible(true);
    JTextArea textArea = new JTextArea();
    textArea.setText(repLine(100, "abcabcabcabcabcabcabcabc"));
    frame.getContentPane().add(new JScrollPane(textArea));
    desktop.add(frame);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1016703
Snippet name: Reproduce WebLAF Bug
Eternal ID of this version: #1016703/6
Text MD5: 87895ac3f20ef6e9c242de018f1be8a1
Transpilation MD5: 589a66234f32944b56494adb41ebf7e5
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-28 16:42:45
Source code size: 606 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 531 / 1270
Version history: 5 change(s)
Referenced in: