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 145814

Summary: Highlight the container where a new component is about to be dropped not working on GTK
Product: guibuilder Reporter: Petr Dvorak <joshis>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker CC: olangr
Priority: P4 Keywords: GTK
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Dvorak 2008-09-01 14:59:34 UTC
It would be nice if - for example - a panel where a button is about to be dropped was somehow highlighted. For example:
if you moved a cursor with a button's preview above the panel, you would see the border around the panel or the panel's
color would change slightly (gray overlay).
Comment 1 Ondrej Langr 2008-09-11 16:17:08 UTC
Can we do this after 6.5? 

The problem with current solution is that when there are several panels and a component is being drag'n'dropped, it can
be kind of tricky to place it into the correct panel. 
Comment 2 Jan Stola 2008-09-11 16:30:55 UTC
> Can we do this after 6.5?

In fact, we do that already. Try to put few JPanels into a JFrame and move JButton over them. You should see border of 
the panels highlighted.
Comment 3 Petr Dvorak 2008-09-11 16:39:05 UTC
You are right, I was just about to write a comment here - it does not work on GTK only... It works in Metal on Windows
L&F...
Comment 4 Petr Dvorak 2008-09-11 16:40:49 UTC
Changing to P4 defect, adding GTK keyword...