- 
    Type:
Bug
 - 
    Resolution: Duplicate
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: fx2.0
 - 
    Component/s: javafx
 - 
    Environment:
Product: javafx-2.0beta
Platform: windows-i586
Build-Number: 2463
Build-ID: 2011-07-20_08-14-55 
                    Run the attached sample:
Circle node = new Circle(100, Color.RED);
Scene scene = SceneBuilder.create().fill(Color.BLUE)
.root(StackPaneBuilder.create().children(node).build()).build();
Object renderToImage = scene.renderToImage(null);
The result is null. If I add sizes to scene with ".width(100).height(100)", it won't be null.
Circle node = new Circle(100, Color.RED);
Scene scene = SceneBuilder.create().fill(Color.BLUE)
.root(StackPaneBuilder.create().children(node).build()).build();
Object renderToImage = scene.renderToImage(null);
The result is null. If I add sizes to scene with ".width(100).height(100)", it won't be null.
- duplicates
 - 
                    
JDK-8114667 renderToImage doesn't layout nodes in scene
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-8113656 Scene.renderToImage() returns a null if no size is specified
-         
     - Resolved
 
 -