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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:18:23+00:00 2026-06-09T16:18:23+00:00

I have a separate class that implements a TableModel interface used for JTable. I

  • 0

I have a separate class that implements a TableModel interface used for JTable. I have one Boolean column, presented as a column of checkboxes and I was wondering how I can inform an external object that certain values need to be updated? If I had this implementation as a nested class, I could access the members of the main class from within, but if I decided to move it to a separate class, do I need to register my main class as a listener on the Table model implementation and then raise an event?

  • 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-09T16:18:25+00:00Added an answer on June 9, 2026 at 4:18 pm

    Expanding on @gontard’s correct answer, you can arrange for your view (say a CombinedDomainXYPlot) to listen to your TableModel. Both known subclasses include the required addTableModelListener() implementation. Your view can then react accordingly when it sees the change.

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

Sidebar

Related Questions

I have a class that implements IHttpModule in a separate assembly from a website.
If I have a Spring Controller with two SEPARATE methods, one annotated by: @ExceptionHandler(Exception.class)
I have class X that implements Queue. I want to pass Class X's Object
Lets say I have a class, which implements a generic interface public interface IItem
I have a list of class items List<MyClass> I have a seperate object that
I have created a separate class (let's call it class2.cs for example) and want
I have a background worker which calls a function within a separate class. This
Say I have two separate classes, A and B. I also have Repository class
I have a website that is mirrored cross two sub-domains. So I have separate
I have a few classes in the class library (separate assembly). I referenced it

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.