!636 !629 // standard functions !658 // image classes import java.awt.*; import java.awt.image.*; import java.util.List; public class main { public static void main(String[] args) { JFrame frame = new JFrame("A JavaX Frame"); RGBImage image = new RGBImage(10, 10, Color.green); ImageSurface panel = new ImageSurface(image); frame.add(panel); frame.setBounds(100, 100, 500, 400); frame.setVisible(true); exitOnFrameClose(frame); } }
Began life as a copy of #2000448
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, kmhbujppghqa, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, qbtsjoyahagl, tslmcundralx, tvejysmllsmz, vouqrxazstgt
1 comment(s) hidden. show
| Snippet ID: | #659 |
| Snippet name: | Image classes test (show a green rectangle) |
| Eternal ID of this version: | #659/1 |
| Text MD5: | 78b8a066804262f8808afac2e329ced5 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-04 20:12:59 |
| Source code size: | 497 bytes / 21 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1423 / 1259 |
| Referenced in: | [show references] |