Hi,
I have an applet which contains a JLabel object. The value for the JLabel object is hard-coded.When I try to change the value of that JLabel and rebuild the application, change is not getting reflected in the UI.
Please advice.
Thanks
Printable View
Hi,
I have an applet which contains a JLabel object. The value for the JLabel object is hard-coded.When I try to change the value of that JLabel and rebuild the application, change is not getting reflected in the UI.
Please advice.
Thanks
Did you restart the browser (and possibly flush the cache)? If not, the browser already has the Applet loaded and simply restarts what it already has cached, so you never load the "new" Applet.
I have emptied the cache and opened the application again in a new browser. Then also the same thing is happeneing.
Thanks
To see if you are actually using the new applet, add a println() statement to the applet and see if its output appears on the java console. If not, then you need to trace back thru the steps to see where the new code didn't get copied to where it needs to be.