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 241287

Summary: JPanel and awt.List Render Order different in guibuilder and preview
Product: guibuilder Reporter: PStigerID
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of Problem
Testcase

Description PStigerID 2014-02-02 12:03:46 UTC
Created attachment 144691 [details]
Screenshot of Problem

Please see attached screenshot for details. The awt.List should be behind jPanel2 (as seen in preview), but in the guibuilder it stays infront. Both Panels are set to null layout.
Comment 1 PStigerID 2014-02-02 12:04:14 UTC
Created attachment 144692 [details]
Testcase
Comment 2 Tomas Pavek 2014-02-03 13:41:40 UTC
Looks like AWT components are always painted over (in front of) Swing components in the designer. Clicking behaves correctly according to the expected visibility, i.e. on given form clicking on the AWT List does not select (it is under the panel, just painted incorrectly).

Given that AWT components are used minimally, this is a rather minor issue.