Bug 96680 - "visible" property is hidden for Swing components
"visible" property is hidden for Swing components
Status: NEW
Product: guibuilder
Classification: Unclassified
Component: Code
5.x
All All
: P3 with 10 votes (vote)
: 7.0
Assigned To: issues@guibuilder
issues@guibuilder
sp_review_61
:
: 114937 156208 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-27 13:19 UTC by Tim Lebedkov
Modified: 2016-04-08 15:22 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2007-02-27 13:19:09 UTC
see summary
Comment 1 Tomas Pavek 2007-03-23 10:47:15 UTC
The GUI designer is not able to handle invisible components right now. It is not
a trivial change. You have an easy workaround - setting invisible components
manally in the code.
Comment 2 Jan Stola 2007-09-07 09:01:51 UTC
*** Issue 114937 has been marked as a duplicate of this issue. ***
Comment 3 swpalmer 2008-11-04 21:49:52 UTC
It is more than just making the component invisible in the GUI editor. We should be able to assign bindings to the 
visible property as well.  That is more cumbersome to workaround.
Comment 4 Michel Graciano 2008-11-10 16:59:19 UTC
About binding, this should be done by inspector window. I agree that this must be done. Imagine the follow use case:
I had a form where just four buttons should be visible at the same time (following the business logic), but in design
time I have 6 buttons. I really wish to have the non default visible buttons invisible during the design because I had
to design the view for a specific video size, and have 6 buttons just make the visualization broken. I remember that
this was possible some versions before, but now it is no more possible and it is really sad.
Comment 5 swpalmer 2008-11-10 19:11:35 UTC
Agreed.  This should be considered a regression, I was pretty sure I had been doing it before.
Comment 6 Jiri Vagner 2009-01-02 07:50:07 UTC
*** Issue 156208 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Pavek 2010-08-20 12:39:33 UTC
Perhaps we could have the 'visible' property similar to 'defaultCloseOperation' on JFrame, i.e. set to never write the value to target component, just remember the setting from the user. So the components would stay visible in designer all the time, it would be only a runtime setting.
Comment 8 Michel Graciano 2010-08-20 12:46:50 UTC
It would be really nice Tomas.
Comment 9 jbfaden 2016-04-08 15:22:07 UTC
Netbeans 8.1 still has this property missing.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo