Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By doWhile

Thread: Simple "Refresh" and "Forward" buttons

  1. #1
    needSolution is offline Member
    Join Date
    Dec 2011
    Location
    Newcastle upon Tyne
    Posts
    3
    Rep Power
    0

    Default Simple "Refresh" and "Forward" buttons

    Hi, all. Have an issue with these two buttons in my java web browser. Browser works fine, "Back" button works fine as well to return on previous visited page, but I am a bit struggling with these two. Would appreciate any help. Thank you!

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default Re: Simple "Refresh" and "Forward" buttons

    Care to provide any context? For instance, did you write this browser? Where's your code? What API's did you use?

  3. #3
    needSolution is offline Member
    Join Date
    Dec 2011
    Location
    Newcastle upon Tyne
    Posts
    3
    Rep Power
    0

    Default Re: Simple "Refresh" and "Forward" buttons

    Quote Originally Posted by doWhile View Post
    Care to provide any context? For instance, did you write this browser? Where's your code? What API's did you use?
    I am sorry, my bad. Yes, I did write it. I haven't put a code here 'cause it is a part of my task and I do not want it in the web, due to plagiarism check. But I can say it is a window with URL in it - "Go " button, "back" button and "forward" button. It works like a simple web browser with ability returning to previous page and move forward to the page you've visited before. As I understand "Refresh" button should just reload content of current page, which is the problem for me.

    I hope it is enough information to get at least some help, or am I wrong? Really do not want to put my code here..I apologise

  4. #4
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default Re: Simple "Refresh" and "Forward" buttons

    Quote Originally Posted by needSolution View Post
    I hope it is enough information to get at least some help, or am I wrong? Really do not want to put my code here..I apologise
    A refresh will reload the content. A forward and reverse will keep track of visited pages in a List, and do their work as appropriate. Perhaps it is just me, but I am not sure what else you expect us to say based upon what you've provided, which leaves a whole slew of open ended questions. I understand your hesitations of posting code, which is why we always ask (and prefer) an SSCCE - to give context, to avoid unnecessary code, to boil the problem down to a single piece of code, and to be able to ask a specific question about the problem/question
    Fubarable likes this.

Similar Threads

  1. Replies: 2
    Last Post: 10-03-2011, 06:22 PM
  2. Replies: 3
    Last Post: 10-12-2010, 04:21 PM
  3. Replies: 1
    Last Post: 01-21-2010, 09:20 AM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

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