I'm using JTable component inside JFrame.Frame has BorederLayout and
table component is situated in center..
My problem is little complicated , i'm adding row's through
addRow(Vector v) of defaultTableModel.Object row consists of String and
FormattedTextField values.
When i add rows ,put some data in it ,and then remove them all ,
formattedtextField that i edited last stay's on te screen .It's like
repaint problem.When i do the resize(with mouse) of frame field disapear
.But when i call the repaint method of JFrame ,fireTableDataChanged of
model ,or do the setSize() of frame to resize it , textBox stays...
My question is what are all the methods called when we do te resize of
frame with mouse?
Thank you.
helena
zero - 12 Dec 2005 13:58 GMT
> I'm using JTable component inside JFrame.Frame has BorederLayout and
> table component is situated in center..
[quoted text clipped - 10 lines]
> Thank you.
> helena
Are you using the latest compiler & JRE version? Try updating, and see if
it still happens. I remember having similar repaint problems in 1.4, but
only on one machine (windows xp pro sp1). I have never again encountered
those problems after an update of the JDK & JRE.
If the problem persists, or if you can't switch versions for some reason,
try posting some code. Perhaps comp.lang.java.gui would be a better place
though.

Signature
Beware the False Authority Syndrome