Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349371 - AWT Components are not drawn on the Design Pane
Summary: AWT Components are not drawn on the Design Pane
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Mitin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 16:37 EDT by Alexander Mitin CLA
Modified: 2021-06-04 16:45 EDT (History)
1 user (show)

See Also:


Attachments
No AWT Components images screenshot (34.57 KB, image/png)
2011-06-14 16:37 EDT, Alexander Mitin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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