View RSS Feed

Model

  1. How to use model for your table in Swing application

    by , 12-09-2011 at 10: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 04:35 PM by Java Swing

    Categories
    JTable , Model