Download Jar. Libraryless. Click here for Pure Java version (973L/7K).
1 | !7 |
2 | |
3 | import java.awt.geom.*; |
4 | |
5 | p-awt { |
6 | JPanel panel = singleColorPanel(Color.RED); |
7 | new JWindow w; |
8 | centerWindow(w, 500, 500); |
9 | w.add(panel); |
10 | w.setVisible(true); |
11 | w.setShape(new Ellipse2D.Double(0,0,500,500)); |
12 | } |
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: | 538 / 1174 |
Version history: | 12 change(s) |
Referenced in: | [show references] |