File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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