🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #572

JBuilder - Setting shared properties

#572
From: Thomas Broer
Date: Wed, 09 Feb 2005 13:26
43 lines
2443 bytes
Hi,

I want to set shared properties of components in a multiple
selection (for example the background color of several JPanels).
Here is what the JBuilder tutorial says to this:

<TUTORIAL>
Setting shared properties

When more than one component is selected, the Inspector display
only the properties that:

- The components have in common.
- Can be edited.

When you change any of the shared properties in the Inspector,
the property value changes to the new value in all the selected
components.
Note: When the original value for the shared property differs
among the selected components, the property value displayed in
the Inspector is either the default or the value of the first
component in the selection list. To set properties for multiple
components,

1. Select the multiple components that will have shared
properties.
2. Select and edit the desired property in the Inspector.
</TUTORIAL>

I have followed these instructions step by step but it doesn't
work. I'm only able to set the properties of the first component
in the selection - the other components stay unaffected. I notice
the following: After making a multiple selection in the component
tree, the inspector shows the properties of the first component
and NOT the shared properties though the component tree indicates
that I have selected several components.
I am new to JBuilder's UI Designer and presume that I make a
rather stupid error. Please tell me, what I'm doing wrong.

Thank you in advance,

Thomas Broer, Kiel, Germany
Technical Details
Message-ID: <420a0f82$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,ff4e56fc3b382c4a,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Thomas Broer" <thomas.broer@web.de>
Sender: "Thomas Broer" <thomas.broer@web.de>
Reply-To: "Thomas Broer" <thomas.broer@web.de>
Subject: JBuilder - Setting shared properties
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 62.134.93.134     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <420a0f82$1@newsgroups.borland.com>
Date: 9 Feb 2005 05:26:26 -0800
X-Trace: newsgroups.borland.com 1107955586 207.105.83.66 (9 Feb 2005 05:26:26 -0800)
Lines: 43
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail