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

22
LINES

< > BotCompany Repo | #1009299 - Window Bot 1

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

Libraryless. Click here for Pure Java version (3623L/26K/86K).

!7

static JFrame frame, closedFrame;

p { bot(); }

answer {
  if "show a window"
    frame = showFrame("A window");
    
  if "maximize it"
    maximizeFrame(frame);
    
  if "resize to * times *"
    setFrameSize(frame, parseInt($1), parseInt($2));
    
  if "close it"
    { frame.setVisible(false); closedFrame = frame; frame = null; }
    
  if (frame == null) if "open it again"
    { frame = closedFrame; closedFrame = null; frame.setVisible(true); }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009299
Snippet name: Window Bot 1
Eternal ID of this version: #1009299/9
Text MD5: be9d2fe18c3f9a0891362a37ea8113b8
Transpilation MD5: 5c296aedc4effbf9071badacdb0e46d9
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-24 16:42:06
Source code size: 482 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 365 / 529
Version history: 8 change(s)
Referenced in: [show references]

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