View RSS Feed

Recent Blogs Posts

  1. JTable MVC

    by , 01-08-2012 at 12: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: 1483
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
    Categories
    Architecture , JTable
  2. How to use model for your table in Swing application

    by , 12-09-2011 at 09:06 AM
    Swing provides a very flexible widget, it is the JTable. Using the JTable component, you can display tabular data in form of columns and rows, plus allowing the user to edit and save the data if needed.

    Why need to use a model

    The Java Swing architecture separates the view and the model of a UI component. The view is how the component is drawn on the screen and gets changed if the user interacts with the component. The model is how data is structured and organized. The ...

    Updated 12-09-2011 at 03:35 PM by Java Swing

    Categories
    JTable , Model