EventJXTableModel & MutableTableModelEvent

View: New views
4 Messages — Rating Filter:   Alert me  

EventJXTableModel & MutableTableModelEvent

by Sam Berlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Folks,

I'm debugging various performance issues and stumbled upon the relatively new EventJXTableModel.  It looks like this is extending the old EventTableModel class (now deprecated).  I tried making my own DefaultEventJXTableModel, but it requires the MutableTableModelEvent class which is package-private.  Would it be possible to either make a new DefaultEventJXTableModel class that extends DefaultEventTableModel, or make MutableTableModelEvent public?

Thanks!

Sam

Parent Message unknown Re: EventJXTableModel & MutableTableModelEvent

by Holger Brands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Sam,

EventJXTableModel was introduced for JXTable to define a different strategy
for converting ListEvents to TableModelEvents.
I think the plan is to make the event conversion strategy pluggable in
DefaultEventTableModel along with an appropriate factory method,
such that EventJXTableModel can be deprecated, too.
It's on the todo list, so stay tuned...

Hope this helps,
Holger

>Hi Folks,
>
> I'm debugging various performance issues and stumbled upon the
> relatively new EventJXTableModel. It looks like this is extending the
> old EventTableModel class (now deprecated). I tried making my own
> DefaultEventJXTableModel, but it requires the MutableTableModelEvent
> class which is package-private. Would it be possible to either make a
> new DefaultEventJXTableModel class that extends DefaultEventTableModel,
>  or make MutableTableModelEvent public?
>
> Thanks!
>
> Sam
>
>


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: EventJXTableModel & MutableTableModelEvent

by Sam Berlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Holger.  Out of curiosity, what was symptom of the performance issue that led to the creation of EventJXTableModel?  I'm debugging some issues where the UI gets so bogged down in events that it appears that it's halted (and eventually things start OOMing).

Sam

On Sun, Jun 28, 2009 at 5:12 PM, Holger Brands <hbrands@...> wrote:
Hey Sam,

EventJXTableModel was introduced for JXTable to define a different strategy
for converting ListEvents to TableModelEvents.
I think the plan is to make the event conversion strategy pluggable in
DefaultEventTableModel along with an appropriate factory method,
such that EventJXTableModel can be deprecated, too.
It's on the todo list, so stay tuned...

Hope this helps,
Holger

>Hi Folks,
>
> I'm debugging various performance issues and stumbled upon the
> relatively new EventJXTableModel. It looks like this is extending the
> old EventTableModel class (now deprecated). I tried making my own
> DefaultEventJXTableModel, but it requires the MutableTableModelEvent
> class which is package-private. Would it be possible to either make a
> new DefaultEventJXTableModel class that extends DefaultEventTableModel,
>  or make MutableTableModelEvent public?
>
> Thanks!
>
> Sam
>
>


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Parent Message unknown Re: EventJXTableModel & MutableTableModelEvent

by Holger Brands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sam,
here is the issue that led to the creation of EventJXTableModel:
https://glazedlists.dev.java.net/issues/show_bug.cgi?id=445
It contains a link to the discussion on the user mailing list,
which should give some more insight...

Holger

>Thanks, Holger. Out of curiosity, what was symptom of the performance
> issue that led to the creation of EventJXTableModel? I'm debugging
> some issues where the UI gets so bogged down in events that it
> appears that it's halted (and eventually things start OOMing).
>
> Sam
>
> On Sun, Jun 28, 2009 at 5:12 PM, Holger Brands <hbrands@...> wrote:
> Hey Sam,
>
> EventJXTableModel was introduced for JXTable to define a different
> strategy
> for converting ListEvents to TableModelEvents.
> I think the plan is to make the event conversion strategy pluggable in
> DefaultEventTableModel along with an appropriate factory method,
> such that EventJXTableModel can be deprecated, too.
> It's on the todo list, so stay tuned...
>
> Hope this helps,
> Holger
>
> >Hi Folks,
> >
> > I'm debugging various performance issues and stumbled upon the
> > relatively new EventJXTableModel. It looks like this is extending
> the
> > old EventTableModel class (now deprecated). I tried making my own
> > DefaultEventJXTableModel, but it requires the MutableTableModelEvent
> > class which is package-private. Would it be possible to either make
> a
> > new DefaultEventJXTableModel class that extends DefaultEventTableMode
> l,
> > or make MutableTableModelEvent public?
> >
> > Thanks!
> >
> > Sam
> >
> >
>
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...