-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Cinch makes MVC in Swing easy. Cinch is a Java library used by developers to simplify writing certain types of GUI code.
When developing Swing applications it's very easy to fall into the trap of not separating out Models and Controllers. It's all too easy to just store the state of that boolean in the checkbox itself, or that String in the JTextField. The design goal behind Cinch was to make it easier to apply MVC than to not by reducing much of the typical Swing friction and boilerplate.
Cinch uses Java annotations to reflectively wire up Models, Views, and Controllers.
The [Introduction to Cinch and MVC](wiki/Introducing Cinch and MVC) will give you a quick sense of how Cinch changes the Swing equation, with or without MVC, for Java.
- Clone via github
- Download latest official release: ptoss-cinch-1.0.zip
Cinch uses maven to manage its external dependencies and handle building the software from source. It should build on any system that has maven
and a proper JDK installed.
To build the project, just go into the top-level directory and type mvn
. Output of the build will be in a created directory named target/dist
.
- Documentation - usage and examples for users of this library
- Extending Cinch - how to extend the Cinch framework
- Javadoc API documentation
- Use Eclipse to work with Cinch - instructions on configure Cinch as an Eclipse project.
- Mailing lists are hosted on Google Groups:
- Please file issues on the Github Issue Tracker
- Email project admin: Ari Gesher
Cinch is made available under the Apache 2.0 License.
Copyright 2011 Palantir Technologies
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.