• Post Reply Bookmark Topic Watch Topic
  • New Topic

Refreshing a webpage

jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page that contains two applets. The first is a list of websites in a JList, the other is two JTextFields and a JButton. The textfields are to add a new title and url to the JList. When you hit the submit button, it adds the info and the new item should show on the list.
I currently have the following code as the last action in actionPerformed():

It basically refreshes the page the applets are on, showing the new list. I was curious is there is any better way to do it?

[This message has been edited by jason adam (edited September 27, 2001).]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!