![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
dataPoints.remove( (DataPoint)obj ); Please show us more code. Regards, Lars-Inge Tønnessen |
#3
| |||
| |||
|
|
dataPoints.remove( (DataPoint)obj ); Please show us more code. Regards, Lars-Inge Tønnessen |
#4
| |||
| |||
|
|
Hi Keith, I have been out of town for a few days. public boolean remove( Object obj ) { return dataPoints.remove( (DataPoint)obj ); } Sorry, this did not tell me anything why it's not working. What is dataPoints ? Where do you make an instance of dataPoints? ( I would guess the dataPoints object is empty (null).) What will happen if you do anything like this? public boolean remove( Object obj ) { if ( dataPoints == null ) return false; return dataPoints.remove( (DataPoint)obj ); } Regards, Lars-Inge Tønnessen |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |