aspose file tools
The moose likes Swing / AWT / SWT / JFace and the fly likes Updating problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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
 
 
subject: Updating problem...
 
Threads others viewed
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
Refresh problem in Servlets !!
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com