| A framework for command processing in Java/Swing programs based on the MVC pattern |
| Full text |
Pdf
(641 KB)
|
Source
|
ACM International Conference Proceeding Series; Vol. 347
archive
Proceedings of the 6th international symposium on Principles and practice of programming in Java
table of contents
Modena, Italy
SESSION: Software engineering issues in Java program design
table of contents
Pages 35-42
Year of Publication: 2008
ISBN:978-1-60558-223-8
|
|
Authors
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 8, Downloads (12 Months): 116, Citation Count: 0
|
|
|
ABSTRACT
We present a framework for command processing in Java/Swing programs based on the model-view-controller (MVC) pattern. In addition to standard approaches our framework supports (1) centralized exception handling, (2) premature command termination, (3) pre- and postprocessing of commands, (4) undo/redo based on event objects and model listeners, and (5) generic undo/redo commands. The framework has been applied successfully in a number of graphical editors as part of a tool chain for real time programming. It proved to increase the quality of the software by eliminating local exception handlers and by confining the impact of undo/redo to a small add-on to the model part of the application.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
S. Burbeck. Applications Programming in Smalltalk-80: How to use Model-View-Controller, 1987.
|
| |
2
|
A. Fowler. A Swing Architecture Overview, http://java.sun.com/products/jfc/tsc/articles/architecture
|
| |
3
|
|
| |
4
|
B. Cabral and P. Marques. Exception Handling: A Field Study in Java and .NET. In ECOOP '07: Proceedings of the 21st European Conference on Object-Oriented Programming, pages 151--175, Berlin, Springer, 2007.
|
| |
5
|
Sun Microsystems: The JavaBeans Specification 1.01. http://java.sun.com/products/javabeans/docs/spec.html
|
| |
6
|
R. Mancini, A. Dix and S. Levialdi. Reflections on Undo. Technical Report RR9611, University of Huddersfield, 1996, http://www.comp.lanes.ac.uk/~dixa/papers/undo-techrep-96/tech9611.pdf
|
| |
7
|
Brico, http://sourceforge.net/projects/brico
|
 |
8
|
|
| |
9
|
|
| |
10
|
James Gosling , Bill Joy , Guy Steele , Gilad Bracha, Java Language Specification, Second Edition: The Java Series, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 2000
|
 |
11
|
|
| |
12
|
|
 |
13
|
|
 |
14
|
Fernando Castor Filho , Alessandro Garcia , Cecília Mary F. Rubira, Error handling as an aspect, Proceedings of the 2nd workshop on Best practices in applying aspect-oriented software development, p.1-es, March 12-16, 2007, Vancouver, British Columbia, Canada
[doi> 10.1145/1229485.1229486]
|
 |
15
|
|
| |
16
|
TDL tool suite, http://www.preeTEC.com
|
| |
17
|
The MathWorks, http://www.mathworks.com
|
| |
18
|
JGraph, http://www.jgraph.com
|
| |
19
|
J. Templ. The KITE Application Server Architecture. In Lecture Notes in Computer Science, Volume 2789/2003, ISBN 978-3-540-40796-6, pages 37--48, 2003. Springer.
|
| |
20
|
BlackBox, http://www.oberon.ch/blackbox.html
|
INDEX TERMS
Primary Classification:
D.
Software
D.3
PROGRAMMING LANGUAGES
D.3.3
Language Constructs and Features
Subjects:
Frameworks
Additional Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.2.13
Reusable Software
Subjects:
Reusable libraries
D.2.5
Testing and Debugging
Subjects:
Error handling and recovery
D.3
PROGRAMMING LANGUAGES
D.3.3
Language Constructs and Features
Subjects:
Patterns
General Terms:
Design,
Languages,
Reliability
Keywords:
Java,
MVC,
Swing,
command,
exception,
framework,
pattern,
redo,
undo
|