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

Bug 120279

Summary: OSX: Black bar shown instead of Frame title bar
Product: z_Archived Reporter: Jeff Myers <jeff.myers>
Component: VEAssignee: Jeff Myers <jeff.myers>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Screenshot of JFrame with no titlebar
none
Test case showing JFrame.printAll() problem.
none
Screenshot of decorated JFrame none

Description Jeff Myers CLA 2005-12-11 16:53:54 EST
On OS X, printing a JFrame produces a black bar where the title bar should be.
Comment 1 Jeff Myers CLA 2005-12-11 16:57:42 EST
Created attachment 31536 [details]
Screenshot of JFrame with no titlebar
Comment 2 Jeff Myers CLA 2005-12-11 18:12:33 EST
Created attachment 31537 [details]
Test case showing JFrame.printAll() problem.
Comment 3 Jeff Myers CLA 2005-12-11 18:40:19 EST
Apple Bug ID# 4374905 opened for this problem.
Comment 4 Jeff Myers CLA 2006-01-14 18:46:02 EST
I've added code to mock up image decorations for Frame and Dialog's title bar and resize handle on OS X. This is similiar to what we do to provide window decorations for SWT on GTK. I will keep an eye on Apple Bug ID# 4374905 to see if this code can be disabled in the future if the bug gets fixed.  
Comment 5 Jeff Myers CLA 2006-01-14 18:48:53 EST
Created attachment 33036 [details]
Screenshot of decorated JFrame

Compare with the previous behavior in attachment 31536 [details].  The live window is shown on the right of the screenshot for comparison.
Comment 6 Richard Kulp CLA 2006-04-18 14:28:42 EDT
Closing
Comment 7 Eclipse Webmaster CLA 2007-07-29 09:18:32 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991