Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

JTable in JFrame

Thread view: 
helena - 12 Dec 2005 09:34 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.