View RSS Feed

Java Swing

Java Swing tutorials.

  1. Component Architecture and MVC

    by , 04-26-2012 at 08:46 PM
    MVCs common variation is used to present components by Swing where controller and view get combined to form an object known as delegate. Delegates present model and also translates the input of user into model, just like it is done by a controller. Communication that takes place b/w controller and view is found to be very complex. Two simplifies are combined, for the component design.

    For example, checkbox widget shall be considered. It consists of a state which could be true or ...
  2. JTable MVC

    by , 01-08-2012 at 01:34 PM
    Swing uses a modified version of Model View Controller design pattern. Model, view and controller layers are separated by MVC design pattern.

    Name:  62.JPG
Views: 1785
Size:  19.7 KB

    Swing MVC Architecture

    Component (JTable, JTree, and JList): These components coordinate.
    Model (TableModel): charged with storing the data.
    UIDelegate: It is responsible for getting the data from model and rendering it to screen.
    Tags: jtable, mvc Add / Edit Tags
    Architecture , JTable