Yes, I will update the Javadoc there. Good idea.

~Roger

On 3/20/13 2:20 AM, Sandro Martini wrote:
Hi all,

Roger, do you have some time to add something like the following info
in JavaDoc of ScrollPane (could really be useful) ?
Ah, yes, the ScrollPane “view” needs to be set with the contents (and not by 
using “add”):
scrollPane.setView(label /* or whatever */);

There can only be one component which is the “view” of the ScrollPane, so
normally the contents is packaged inside another container.

I can take a look at the related page in Tutorials (
http://pivot.apache.org/tutorials/scroll-panes.html ), that could be
updated too ...

Tell me.

Thanks.

Bye,
Sandro



Reply via email to