mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-01 02:29:03 +00:00
make sure components are initialized at tick event
This commit is contained in:
parent
1cc78b180f
commit
bc26f42992
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: SimControl.java,v 1.11 2009/03/09 15:39:33 fros4943 Exp $
|
* $Id: SimControl.java,v 1.12 2009/03/26 15:41:59 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
@ -122,9 +122,11 @@ public class SimControl extends VisPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sliderDelay != null) {
|
||||||
sliderDelay.setValue(convertTimeToSlide(simulation.getDelayTime()));
|
sliderDelay.setValue(convertTimeToSlide(simulation.getDelayTime()));
|
||||||
simulationTime.setText("Current simulation time: " + simulation.getSimulationTime());
|
simulationTime.setText("Current simulation time: " + simulation.getSimulationTime());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user