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

12
LINES

< > BotCompany Repo | #1013337 // Show Red Circle In Center Of Screen (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (973L/7K).

!7

import java.awt.geom.*;

p-awt {
  JPanel panel = singleColorPanel(Color.RED);
  new JWindow w;
  centerWindow(w, 500, 500);
  w.add(panel);
  w.setVisible(true);
  w.setShape(new Ellipse2D.Double(0,0,500,500));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013337
Snippet name: Show Red Circle In Center Of Screen (OK)
Eternal ID of this version: #1013337/13
Text MD5: eae69bfb4472bdc128aa523588e59a80
Transpilation MD5: 269353c841ca9f6a650f2afc406a4fb2
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-02 20:33:32
Source code size: 228 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 537 / 1170
Version history: 12 change(s)
Referenced in: #1013339 - Blinking Red Text Spike v2 (also suboptimal)