Hi,
you can add it easily but it won't help you in a Codename One application.
Since the application is rendered using Java the view animation you see there won't work for the Codename One view. It will see it as just a view drawing graphics. Obviously won't work for platforms like Android etc.
Having said that this effect is pretty trivial to implement in Codename One using several approaches. The simplest would be to have a set of image frames for the animation and just updating them on the fly. A more elaborate implementation can set a bgPainter to the toolbar area and draw the wave effect using a Shape curve. Then use padding to move the content of the toolbar with the motions of the wave.