This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Updating problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Updating problem..." Watch "Updating problem..." New topic
Author

Updating problem...

Chuck Meduri
Ranch Hand

Joined: Nov 29, 2000
Posts: 48
Hi everyone,
I have two windows one of which is a class extending JPanel(let's call this PanelA) and the other which is opened(let's call it DialogB) by clicking a button on PanelA. BTW, DialogB extends JDialog. DialogB has a table where the user can select a row and click a button 'Add' which adds the selected row to a table in PanelA.
This was working pretty well when we are developing JDK1.1.7. When we migrated to JDK1.2.2, this update when selecting a row in DialogB and clicking a 'Add' button does not update the table in PanelA.
I am having to close DialogB and resize 'PanelA' to actually see the added row. Whereas I was able to see it immediately in the older version of JDK.
I have tried repaint and resizing on the parentPanel of DialogB which happens to be 'PanelA' and still this is doing the trick.
Can anyone help me with this problem?
Any suggestion would be appreciated.
Thank you in advance,
Chuck
 
wood burning stoves
 
subject: Updating problem...
 
Similar Threads
Refresh problem in Servlets !!
problem for update and delete row in table using jsp
How to add JLabel In a JTable cell
Converting VB application into web page.
JPanel Doesn't Display