aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updating problem...