Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Xue Feng Newsgroups: comp.lang.java.programmer Subject: Re: How to access properties of a class from another class? Date: Sat, 1 Aug 2015 16:10:33 +0800 Organization: Aioe.org NNTP Server Lines: 19 Message-ID: References: NNTP-Posting-Host: t6n5dB/VWIBVAA9YJUS+wg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:32237 on 2015/7/29 22:24, Nigel Wade wrote: > You can build your GUI from multiple smaller elements, each within its > own class. You can then build these smaller elements into a larger GUI. > Whether NetBeans can actually manipulate your smaller elements within > the matisse GUI design tool depends on how much effort you put into > correctly designing the smaller elements. If they can be imported as > Beans then matisse will use them. > > Even if your smaller GUI elements cannot be imported as Beans, and > manipulated by matisse, it doesn't preclude you from utilizing them in > your main GUI. You will, however, have to create them yourself and embed > them into the design using the code section of the component properties > or add the relevant code, normally just after the init_components() > method has been invoked. > I am really interested in this part. Is there any hints about it?