Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2010
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.93 KB | None | 0 0
  1.  new Stage() {{
  2.      title  =  "Group-Nodes-Transformation";
  3.      scene  =  new Scene() {{
  4.          width =  600;
  5.          height = 600;
  6.          content = new Group() {{
  7.              content = new Object[] =  {
  8.                  new Circle() {{
  9.                      centerX = 300;
  10.                      centerY = 300;
  11.                      radius = 250;
  12.                      fill = Color.WHITE;
  13.                      stroke = Color.BLACK;
  14.                  }},
  15.                  new Text() {{
  16.                      x = 300;
  17.                      y = 300;
  18.                      content = "Mr. Duke";
  19.                  }},
  20.                  new ImageView() {{
  21.                      image = new  Image() {{
  22.                          url = "D:\\TEST\\Documents\\duke.png"
  23.                          width = 50;
  24.                          height = 50;
  25.                      }};
  26.                  }};
  27.              };
  28.          }};
  29.      }};
  30.  }};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement