i have troubles with setting bounds. Whatever I tried computer still draws surface within an automatic generated boundares. Any help and suggestion is welcome. Thanks!
If I assume your talking about setting component bounds in AWT / Swing, then I'd hazard a guess that your using a LayoutManager (e.g. BorderLayout). These are designed to contrain layout according to some rules depending upon the specific LayoutManager used. To do this, they impose things like bounds and locations on the components within the Containers they manage. If you set these yourself, they will be ignored.
If I'm way off beam, please post some more details of your problem.
I'm not shure that we've understand well. I'm trying to draw an infinite surface (using java3d) and I've tried to overwrite initSceneGraph() but I don't know how to set boundares (using BoundingBox, BoundingLeaf, or maybe something else). For example, I've set axes from -5 to 5, and I want surface to be seeable only in square which diagonal points are (-6,-6,-6) and (6,6,6). Keep in mind that I'm a real begginer (and I don't know English very weel, as you probably already realized). If you have some other suggestion please write.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.