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 - JPanel and awt.List Render Order different in guibuilder and preview
Summary: JPanel and awt.List Render Order different in guibuilder and preview
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P4 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 12:03 UTC by PStigerID
Modified: 2014-02-03 13:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of Problem (22.20 KB, image/png)
2014-02-02 12:03 UTC, PStigerID
Details
Testcase (14.99 KB, application/x-rar-compressed)
2014-02-02 12:04 UTC, PStigerID
Details

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