Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 914711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:45:47+00:00 2026-05-15T17:45:47+00:00

What is the importance of JTable model.Does all the swing components has model associated

  • 0

What is the importance of JTable model.Does all the swing components has model associated with it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T17:45:48+00:00Added an answer on May 15, 2026 at 5:45 pm

    Swing uses the Model-View-controller design pattern. As such, most components provided with Swing have indeed an associated model (not all of them, though).

    This allows you to separate the rendering part from the data part. I would recommend you to use your own model for JTable, especially if you are manipulating and/or changing data from it.

    However, if you don’t have such need, and your JTable is only something you use once, in a small corner of your program, with fixed datas, you can also manipulate data directly from the JTable, neglecting the MVC pattern. A JTable created without specifying a model will create its own model, and the JTable class provides methods to manipulate the data directly, for such cases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think most people here understand the importance of fully automated builds. The problem
Is Software Testing really given its importance at the academic level? I believe there
Question My question is how can you teach the methods and importance of tidying-up
I'm writing a custom swing component (something completely new, but think JTree or JList).
I am using 2 Tables (JTable) with their DefaultTableModels. The first table is already
I would like to make a jTable in which when user select an uneditable
I want to store the results of reading lucene index into jTable, so that
When I run it with NetBeans it's all OK. When I copy dist directory
I am writing a basic Java application with a Swing front-end. Basically it loads
What is the importance of DTD and how it affects the display of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.