Refresh « Dialog « Java Swing Q&A





1. JDialog components not refreshing    coderanch.com

Hello all. I have searched for an answer for the following problem and have found none. Basically I have created a setting dialog by extending JDialog. It has some radio buttons, text fields, etc. In addition to save and cancel buttons, I also have a reset button (to display defaults). When I open the dialog and press the defaults button, the ...

2. How To Refresh a JDialog?    coderanch.com

Below is the code snippets to give an idea what I'm trying to achieve: public class MyDialog extends JDialog { JPanel pane = new JPanel(new GridBagLayout()); public MyDialog() { paintDialog(); } // Add all the UI components private void paintDialog() { ... for (int i = 0; i < lineItems.size(); i++) { POItem item = (POItem) lineItems.get(i); JLabel itemNo = new ...

3. JDialog refresh problem    forums.oracle.com

Hi everyone, I am using JDialog in my application.I have a menu with menu item New.When i clicked the menu a jDialog appears with radio buttons.When i select some option from there then i close it. Now when i again select the New menu it shows me the previous selected options not like as i opened first time.First time means when ...