I can set the Appearance for a Sphere, but I wanna set Appearance again on keyPress.
Does someone know how I can do that?
Why can't you? You should get an error when you try to do it, and that error should explain what you need to do.
I can only guess that you need to set the capability. ie
Then you can change the appearance later.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.