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


Groups > comp.lang.java.gui > #3038 > unrolled thread

Bug in JTable DefaultCell

Started by"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
First post2011-04-27 15:42 +0000
Last post2011-04-27 15:42 +0000
Articles 2 — 1 participant

Back to article view | Back to comp.lang.java.gui


Contents

  Bug in JTable DefaultCell "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
    Re: Bug in JTable Default "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000

#3038 — Bug in JTable DefaultCell

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:42 +0000
SubjectBug in JTable DefaultCell
Message-ID<0oq1p3lkr2a00e440ick3pc961p1s8bk5i@4ax.com>
  To: comp.lang.java.gui
I would have thought if you did any sort of add row, that would first
close any open CellEditor. As it is that cell does not get repainted
correctly or closed.  The cell being edited appears to jump to become
part of a different line.

Anything thoughts on what to do to make it behave sensibly?

I suppose one way would be to somehow monitor when there is an open
cell being edited and disable the add row button.
-- 
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#3039 — Re: Bug in JTable Default

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:42 +0000
SubjectRe: Bug in JTable Default
Message-ID<mvq1p3d2faaanl65kb2pukepjq48equenq@4ax.com>
In reply to#3038
  To: comp.lang.java.gui
On Fri, 18 Jan 2008 18:11:03 GMT, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>I would have thought if you did any sort of add row, that would first
>close any open CellEditor. As it is that cell does not get repainted
>correctly or closed.  The cell being edited appears to jump to become
>part of a different line.

I don't have an SSCCE for this, but I have an overly fat complete
program.  You can download it at
http://mindprod.com/zips/vercheck10.zip
-- 
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web