This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104474

Summary: Add support for off-screen painting of scenes without main view created
Product: platform Reporter: David Kaspar <dkaspar>
Component: GraphAssignee: issues@platform <issues>
Severity: blocker Keywords: API_REVIEW_FAST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch
Patch with unit test

Comment 1 David Kaspar 2007-08-01 10:12:53 UTC
Created attachment 45979 [details]
Comment 2 David Kaspar 2007-08-01 10:14:27 UTC
Patch has been created. The patch add a new Scene.validate(Graphics2D) method. The test.view.OffscreenRenderingTest
example has been added to show the usage.
Asking for fast API review.
Comment 3 Jaroslav Tulach 2007-08-01 16:31:57 UTC
Y01 I am missing unit test. As far as I can tell this should be pretty straightforward to unit test and potentially 
this method could be used to simplify other, already existing tests.
Comment 4 David Kaspar 2007-08-03 09:01:53 UTC
Created attachment 46107 [details]
Patch with unit test
Comment 5 David Kaspar 2007-08-03 09:02:44 UTC
Y01 - Done. There is a new test.apichanges.OffscreenRenderingTest visual test.
Comment 6 David Kaspar 2007-08-10 09:40:30 UTC
Fixed in main trunk.