Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349371

Summary: AWT Components are not drawn on the Design Pane
Product: z_Archived Reporter: Alexander Mitin <Alexander.Mitin>
Component: WindowBuilderAssignee: Alexander Mitin <Alexander.Mitin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
No AWT Components images screenshot none

Description Alexander Mitin CLA 2011-06-14 16:37:18 EDT
Created attachment 197979 [details]
No AWT Components images screenshot

There are no images of the AWT Components which are on Swing container.
Comment 1 Alexander Mitin CLA 2011-06-14 16:45:11 EDT
It seems to be a bug in Apple Java (1.6.0_24-b07-334-10M3326): java.awt.Component.printAll(java.awt.Graphics) draws nothing (even using standalone trivial run-time sample). And AWT components are not drawn on the JComponent container using the same printAll() method.
The workaround is to hack into a native peer, get the native image and then paint it into the root screenshot.
Comment 2 Eric Clayberg CLA 2011-06-15 09:14:28 EDT
Fixed in trunk