Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38855

Re: DefaultTableModel.getDataVector() and Java 11

Newsgroups comp.lang.java.programmer
Date 2019-04-03 11:22 -0700
References <slrnqa9lo4.cfl.avl@logic.at> <q82ntq$38c$1@dont-email.me> <slrnqa9rj9.cfl.avl@logic.at>
Message-ID <ff666f17-993d-4479-85f7-ed83c1f51ca8@googlegroups.com> (permalink)
Subject Re: DefaultTableModel.getDataVector() and Java 11
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Wednesday, April 3, 2019 at 1:33:38 PM UTC-4, Andreas Leitgeb wrote:
> PS:
> Some comment for private method "justifyRows" of DefaultTableModel
> that I noticed only in the course of changing to AbstractTableModel
> reveals developers' intention:
> "       // Sometimes the DefaultTableModel is subclassed
> "       // instead of the AbstractTableModel by mistake.
> Yep, I was guilty of that - fixed now in my code.

I may have just found that note myself at some point, that the DefaultTableModel is not intended to be overridden.  I knew there was a reason I ended up extending the AbstractTableModel, while I know I initially tried to extend the default which seemed like it should be less work.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

DefaultTableModel.getDataVector() and Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-03 15:53 +0000
  Re: DefaultTableModel.getDataVector() and Java 11 Patrick Roemer <sangamon@netcologne.de> - 2019-04-03 18:37 +0200
    Re: DefaultTableModel.getDataVector() and Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-03 16:41 +0000
  Re: DefaultTableModel.getDataVector() and Java 11 Eric Sosman <esosman@comcast-dot-net.invalid> - 2019-04-03 12:44 -0400
    Re: DefaultTableModel.getDataVector() and Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-03 17:33 +0000
      Re: DefaultTableModel.getDataVector() and Java 11 Eric Douglas <e.d.programmer@gmail.com> - 2019-04-03 11:22 -0700
  Re: DefaultTableModel.getDataVector() and Java 11 Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-04-03 18:49 +0200
  Re: DefaultTableModel.getDataVector() and Java 11 Eric Douglas <e.d.programmer@gmail.com> - 2019-04-03 10:34 -0700

csiph-web