Swing Application Framework

The Swing Application Framework (JSR 296) is a Java specification for a simple application framework for Swing applications, with a graphical user interface (GUI) in computer software. It defines infrastructure common to most desktop applications, making Swing applications easier to create. It has now been withdrawn.[1]

## Contents

* 1 Features
* 2 Status and roadmap
* 3 Forks and alternatives
* 4 See also
* 5 External links
* 6 References

## Features

The JSR 296 specification defines the basic structure of a Swing application. It defines a framework as a small set of extensible classes that define infrastructure common to most desktop applications:

* management of application life-cycle, startup and shutdown;
* support for loading localized resources;
* persistent session state;
* support for loosely coupling actions to their presentation.

## Status and roadmap

Development of an open-source Reference Implementation called "appframework" began in 2006.[2] It was originally expected that this implementation would be the means for integrating JSR 296 into the upcoming Java SE 7 (Dolphin) version of Java, and the project was scheduled to be included in milestone 5 of the Java Development Kit JDK7 development. However, in August 2009, it was announced that the project would not be included, due to an inability to reconcile design flaws and achieve consensus among the JSR 296 team before the milestone 5 deadline.[3]

The original Swing Application Framework implementation has been put on hold indefinitely.[4] It was later withdrawn at the Spec Lead's request in June 2011. The last public release of the appframework project was version 1.03.[2]

## Forks and alternatives

Several forks of the original implementation have been started by open-source communities, and several other application framework libraries have been created to achieve goals similar to those of JSR 296.

Better Swing Application Framework
The Better Swing Application Framework project, or BSAF, is a fork of version 1.03 of the original appframework project. BSAF was created at Project Kenai in September 2009 and is currently the most active of the forks. Its goals are to eliminate bugs and execute small design fixes on the original appframework implementation while maintaining compatibility with version 1.03.[5]

Last release BSAF 1.9.1 was 2012.[6] BSAF is still available at SourceForge, which has a button that says "This project can now be found here," that takes you to the now defunct project Kenai.

Guice Utilities & Tools Set
The Guice Utilities & Tools Set, or GUTS, is an implementation of JSR 296 that combines the appframework with the Google Guice Dependency Injection library. Like BSAF, it is also hosted at Project Kenai. Unlike BSAF, GUTS is making a break-away from the "problematic singleton"[7][8] pattern. This project began in June 2009, and is currently not active (version 0.1 stuck 2010).[9]

Swing Application Framework Fork
The Swing Application Framework Fork, or SAFF, is a fork of appframework 1.03. It is currently hosted at GitHub. However, this project has been dormant since October 2009.[10]

TreasureMap
TreasureMap is a library providing standalone use of appframework 1.03's ResourceMap implementation.[11]

NetBeans Platform
The NetBeans Platform is a robust Swing application framework, with many more features, as well as much more documentation. Because of the JSR failure/hold, SAF has been removed from Netbeans as of version 7.1. The developers seem to have no desire to provide any alternative, and suggest that the Netbeans platform is the right mechanism for porting SAF projects to a supported platform.[12]
Eclipse RCP
Eclipse RCP is a big SWT (an alternative to Swing) application framework, for bigger projects, needs more time for understanding.

jGAF - Java Generic Application Framework
jGAF is a simple and compact library to quickly build full-featured Java Swing Application. This free open-source framework provides APIs to handle application life cycle, menus, configuration, OS integration, application data persistence, application protection, wizards, preferences, etc.[13]

## See also

* swingLabs

## External links

* JSR website
* Framework overview
* appframework the open-source reference implementation for JSR 296
* Source Forge BSAF Page

## References

1. ↑ "The Java Community Process(SM) Program - JSRS: Java Specification Requests - detail JSR# 296". http://jcp.org/en/jsr/detail?id=296.
2. ↑ 2.0 2.1 appframework: Swing Application Framework, https://appframework.dev.java.net/appframework
3. ↑ Potochkin, Alexander, SAF and JDK7, http://weblogs.java.net/blog/archive/2009/08/19/saf-and-jdk7
4. ↑ Potochkin, Alexander, The alternative Swing frameworks, http://weblogs.java.net/blog/alexfromsun/archive/2009/11/16/other-swing-frameworks
5. ↑ Better Swing Application Framework, http://kenai.com/projects/bsaf
6. ↑ Better Swing Application Framework - Last Release, https://kenai.com/projects/bsaf/downloads/directory/Releases/
7. ↑ Hans Muller "Swan Song", http://java.net/nonav/projects/appframework/lists/users/archive/2008-05/message/4
8. ↑ JSR 296 "From the Trenches", http://jfpoilpret.googlepages.com/JSR-296-from-the-trenches-08-2008.pdf
9. ↑ Guice Utilities & Tools Set, http://kenai.com/projects/guts
10. ↑ Swing Application Framework Fork, https://github.com/hamnis/SAFF
11. ↑ TreasureMap, 20 November 2018, https://github.com/dteoh/treasuremap
12. ↑ NetBeans Platform, http://netbeans.org/kb/trails/platform.html
13. ↑ Java Generic Application Framework, 3 September 2021, https://github.com/pgdurand/jGAF

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Swing Application Framework. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Swing_Application_Framework&oldid=245714"