This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
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