mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

LazyPanel and LazyContent for convenient asynchronous data & UI loading #577

Closed mgarin closed 4 years ago

mgarin commented 4 years ago

LazyPanel and LazyContent is something I'm moving into WebLaF from one of our proprietary projects. These two features were made to provide a streamlined and easy way of asynchronously loading data (or performing any long calculations in general) and displaying related UI elements afterwards.

While there is SwingWorker provided in Swing - we simply found it lacking functionality that is often needed (container management, progress display, different loading trigger events etc).

I'll post more information on these features once they're out.

mgarin commented 4 years ago

LazyContent and LazyPanel have been added, they will be available in v1.2.11 release. They will also be available quite soon in SNAPSHOT artifacts: https://oss.sonatype.org/content/repositories/snapshots/com/weblookandfeel/