Meaningless Drivel is fun!*
The moose likes JavaFX and the fly likes putting circle in a rectangle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "putting circle in a rectangle" Watch "putting circle in a rectangle" New topic
Author

putting circle in a rectangle

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
hi all,

maybe it's too simple. but i need help.
how do i put a circle inside a rectangle when a rectangle don't have a var content?
i need to have the circle be contained/placed inside a rectangle visually and when i drag the rectangle, circle follow.
thanks!

Jim Clarke
author
Ranch Hand

Joined: Jun 15, 2009
Posts: 49
I am not sure exactly what you are trying to do, but perhaps Stack will help you.
By default, the nodes are centered.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: putting circle in a rectangle
 
Similar Threads
Casting in generics. . .
Comparing variables - Interfaces
Shapes with slider
Draw a Shape by selecting(combox) its color and clicking a button
Polymorphism example