Hi all.
I've encountered a problem here.
public double getValue() {
return phase1.getBound ary(Space3D.Bou ndaryPeriodicSq uare(,,));
}
public void setValue(double d) {
phase1.setBound ary(new Space3D.Boundar yPeriodicSquare (d,d,d));
diaTextField.se tText(toString( ).valueOf((floa t)phase1.getCol lisionDiameter( )));
display1.repain t();
Please refer to the words in bold. esp, return phase1.getBound ary(Space3D.Bou ndaryPeriodicSq uare(,,));
the program is not running becuase of this instance.
i know this is because i am trying to get length, breadth and height into the getBoundary.
Should i use double ?
any idea anyone?
thanks a lot in advance
I've encountered a problem here.
public double getValue() {
return phase1.getBound ary(Space3D.Bou ndaryPeriodicSq uare(,,));
}
public void setValue(double d) {
phase1.setBound ary(new Space3D.Boundar yPeriodicSquare (d,d,d));
diaTextField.se tText(toString( ).valueOf((floa t)phase1.getCol lisionDiameter( )));
display1.repain t();
Please refer to the words in bold. esp, return phase1.getBound ary(Space3D.Bou ndaryPeriodicSq uare(,,));
the program is not running becuase of this instance.
i know this is because i am trying to get length, breadth and height into the getBoundary.
Should i use double ?
any idea anyone?
thanks a lot in advance
Comment