How-To's > How do I create a slide-out panel?


The slide-out panel is the RIA and Web 2.0 alternative to a pop-up dialog box. The slide-out panel uses animation to slide out of one edge of the application. It covers the application content and has focus. After the user interacts with it and dismisses it, the dialog box slides out of view.

Tips

  • Do not use a slide-out panel in a productivity application. If you choose to use it, make the slide-out speed fairly high.
  • Within a single application, use only one of the following dialog box alternatives consistently: a regular dialog box, a slide-out panel, a flip effect, or an overlay dialog box.

To create a slide-out panel in JavaFX, start with the code from one of the following samples and modify it to suit your purposes.

Examples

Last Updated: November 2009
[Return to How-To's Home]



Rate This Article
Leave a Comment or Suggest a Topic

Do you have comments about this article? We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies—your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.

 

English
日本語
한국어
简体中文
русский
Português do Brasil