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 - Add support for off-screen painting of scenes without main view created
Summary: Add support for off-screen painting of scenes without main view created
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2007-05-22 08:23 UTC by David Kaspar
Modified: 2007-08-10 09:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (12.22 KB, patch)
2007-08-01 10:12 UTC, David Kaspar
Details | Diff
Patch with unit test (15.88 KB, patch)
2007-08-03 09:01 UTC, David Kaspar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 David Kaspar 2007-08-01 10:12:53 UTC
Created attachment 45979 [details]
Patch
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.