I am making an application in which there is a Jlabel and a few JButtons. At the click of JButton i have to change the JLabel. What will be the best way of reflecting the new JLabel ? regards ashish sarin
hi Ashish how to refresh the dispaly in Swing You can call the repaint() method Can you explain the following statement clear? What will be the best way of reflecting the new JLabel ?
Ok. let me put it this way: I have a JRadioButton and a JCheckBox. When the user presses a button 'Show Check Box' then the user should see the JCheckBox ONLY. & when user presses the button 'Show Radio Button' the user sees JRadioButton ONLY. how i should go about implementing this ? regards ashish sarin