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 8378255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:53:19+00:00 2026-06-09T15:53:19+00:00

I am making a file converter. I will have JButton’s to Add and Remove

  • 0

I am making a file converter. I will have JButton’s to Add and Remove files from the list. When adding a file, it’ll bring up a JFileChooser(or something) and return a list of files. Will I need to repopulate the entire table each time I add/remove files? If I have to resolve to that, what is the best approach?

When I didn’t have two columns, I used JListModel + JList< File>. Is there a similar approach for using JTables?

  • 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-06-09T15:53:20+00:00Added an answer on June 9, 2026 at 3:53 pm

    No you don’t have to repopulate the entire table. Just use DefaultTableModel.addRow(). JTable automatically creates an instance of DefaultTableModel.

    Check this link: http://docs.oracle.com/javase/tutorial/uiswing/components/table.html

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

Sidebar

Related Questions

I'm making a php file that will run an event after five minutes have
Ok, so I'm making a program that will read from a text file, convert
Is is possible to prevent Wget from making an output file when there is
Iam making an app which has one index.php file. I also have these other
I am making an app in which I have to play video file. .flv
I am making a Python script which will read in a GeoTIFF file, and
I have been making a program that creates multiple CSV's from another source CSV
how do file converters work? IE: Making a web application that will convert mp3
I'm making an iPhone app and I have a ton of .wav files I
I am making file input boxes through a javascrpit function, if the user wants

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.