Update « Dialog « Java Swing Q&A





1. Updating Dialog Box    coderanch.com

Hi, I have this dialog box in my program, and in this dialog box, there's this dropdown menu for choosing some predefined fonts. What I did was that I set action listener for that menu but it seems that I can not change anything once the dialog box is shown(). please please help. I'm looking for some kind of update method, ...

3. Dialog updates database - how to update other screens' combos/lists/tables?    coderanch.com

Hi All, I have a dialog that modifies records within my database. But when I go to a different screen where the combo box has data from that table displayed it isn't updated with the new record that has been added. If I close my program and restart it then the combo box appears updated but I can't imagine many users ...

4. SIMPLE updating dialog!!!    coderanch.com

Ok...I wrote a simple test class to illustrate a problem I'm having. Here's the flow: 1. User clicks button on frame 2. This starts some long running process and opens a dialog to show the progress 3. When the process completes, status text on the dialog gets updated The problem is that the components just don't get refreshed like they should. ...