The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Blog Archive for rexyoung during October 2009

Object-oriented programming has been at the center of mainstream software development since the early 1990s. Although OOP languages have evolved, the OO model foundation hasn't changed much. OOP is still deeply rooted in sequential programming within a single address space. AVM extends the OO model with Message Passing and Dynamic Message Binding. You are at the right place if you reached it here...
In order to handle user input to Swing components, you need to implement event listeners and make them listen to Swing components. Your listener will be invoked when the Swing component fires an event. This is from front-end to back-end. On the other hand, from back-end to front-end, it is still true if you do not employ some other work flow frameworks. For example,...
Design thread model along with OO model for your Swing application. A thread model defines a scope e.g. a set of classes a thread (or a pool of threads) will stay in. As threads would step out the scope, scopes employ message passing for event notification. The Problem The following figure shows the abstraction of a typical Swing application with a back-end. The green arrow represents a...
Thread-safe is used to describe a Java class that is ready to be accessed by multiple threads without causing deadlock and/or broken state. Here I am referring to how to make an entire application especially a Swing application thread-safe. It is well known that Swing employs single-thread model. Swing components are desired to be accessed one thread a time. And the event-...