Results 1 to 4 of 4

Thread: doubt in applet

  1. #1
    Rag
    Rag is offline Member
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default doubt in applet

    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

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    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.

  3. #3
    Rag
    Rag is offline Member
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default

    I have emptied the cache and opened the application again in a new browser. Then also the same thing is happeneing.

    Thanks

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,397
    Rep Power
    25

    Default

    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.

Similar Threads

  1. A great doubt in Java Applet,will u solve it!!
    By anithababu in forum Java Applets
    Replies: 6
    Last Post: 01-27-2008, 01:20 PM
  2. doubt
    By shaju_inspira in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 01-18-2008, 08:38 AM
  3. doubt in jms
    By veena in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 01-05-2008, 01:42 PM
  4. Doubt on <bean> tag
    By sudhakarbe in forum Web Frameworks
    Replies: 0
    Last Post: 11-22-2007, 07:57 AM
  5. string doubt
    By boy22 in forum New To Java
    Replies: 3
    Last Post: 08-02-2007, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •