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 195194 - Panel border disappears when selecting component
Summary: Panel border disappears when selecting component
Status: RESOLVED DUPLICATE of bug 63715
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 19:46 UTC by Chiana
Modified: 2011-02-14 09:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (16.57 KB, image/x-png)
2011-02-08 19:47 UTC, Chiana
Details
Screenshot (21.61 KB, image/x-png)
2011-02-08 19:47 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2011-02-08 19:46:46 UTC
[ BUILD # : beta-2 ]
[ JDK VERSION : 1.6.23 ]

When marking or inserting a component into a JPanel the borders appear to
disappear, I have checked for a way to see  if it is just changing color to
something that is not visible on my screen but could not find it.
Attachments: disapp1.png Shows when the JPanel is selected
disapp2.png Shows when the inserted jLabel is selected.
Comment 1 Chiana 2011-02-08 19:47:13 UTC
Created attachment 105748 [details]
Screenshot
Comment 2 Chiana 2011-02-08 19:47:31 UTC
Created attachment 105749 [details]
Screenshot
Comment 3 Chiana 2011-02-08 19:49:03 UTC
This apparently goes for any component...
Comment 4 Jiri Rechtacek 2011-02-09 08:09:10 UTC
Just change <border> property and pick up other border in property editor, e.g. Line border which is showing its contour.
Comment 5 Chiana 2011-02-09 09:52:17 UTC
Well, I still think there should be some indication where it is when placing a component, whether it should be visible in the end or not.
Comment 6 Tomas Pavek 2011-02-11 18:06:08 UTC
Hm, I don't understand, sorry. The orange border is the selection painted by the GUI builder - it shows what is selected, it is not a border of the panel or any component. On the first picture the panel is selected, so there is the selection rectangle painted around it. On the second the selected component is label, so the rectangle is painted around the label and not the panel. What's wrong with that?

Please explain what would you expect. Don't you actually mean something like bug 63715?
Comment 7 Chiana 2011-02-11 22:46:00 UTC
Hmm, yes 63715, filed 2005 and still not fixed??? I think it is wrong to have to place a component without knowing where it is contra the border, it is tedious at best, place component, mark panel to see where it actually is, move component, mark panel to see where it acually is... Need I go on?

Besides, this is the kind of problem that would make a CEO select another product for their company...

It would be so easy to fix, just f.ex. put a crosshair where the corners are will do the trick, or a "walking line" or a flashing line, just changing the background color of the panel to a visible one will do the trick, just to show where the panel ends when you are placing other components inside it...
Comment 8 Tomas Pavek 2011-02-14 09:28:47 UTC

*** This bug has been marked as a duplicate of bug 63715 ***