>
> A question : My beans have some properties which are as default contains
> null value. Because of this jess does not show the property names. Is
> three a way to get rid of this problem still with null values.
>
An example
class B
{
//some bean properties
}
class A
{
protected String name = null;
protected B myB = null;
A(String nameIn)
{
name = new String (nameIn);
// myB = new B(); this is what i want to omit they are usually
optional
}
public setB(B in)
{
B tmp = myB;
myB = in;
pcs.firePropertyChange("B", tmp, myB);
}
public B getB( )
{
return myB;
}
// prop listeners ect...
}
Note that myB is an optional property and it is not constructed.
When I construct it or instanced it there is no problem (the commented
line).
--
_____________________________________________________________________________________
S.S. OZSARIYILDIZ,
Delft University of Technology,
Faculty of Civil Engineering and Geo. Sciences
Section Civil Engineering Informatics
P.O. Box 5048 Stewinweg 1, k:3.25 2600 GA
Delft/ The Nederlands
Tel : +31 15 278 4330 Fax :+31 15 278 7700 Email :
[EMAIL PROTECTED]
_____________________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------