The periodic energizing required to maintain the contents of computer memory, screen, etc. It can refer also to the update of a display to show the latest version of the data.
Questions tagged [refresh]
5342 questions
109
votes
7 answers
Eclipse: How do I refresh an entire workspace? F5 doesn't do it
I have a workspace with a bunch of java projects. If I go to File->Refresh, it doesn't really refresh anything (perhaps the currently selected project). How do I get eclipse to refresh all of the projects?

Jack
- 2,206
- 3
- 18
- 25
105
votes
6 answers
Refresh Part of Page (div)
I have a basic html file which is attached to a java program. This java program updates the contents of part of the HTML file whenever the page is refreshed. I want to refresh only that part of the page after each interval of time. I can place the…

user760220
- 1,207
- 2
- 13
- 12
103
votes
20 answers
One time page refresh after first page load
I would like to implement a JavaScript code which states this:
if the page is loaded completely, refresh the page immediately, but only once.
I'm stuck at the "only once":
window.onload = function () {window.location.reload()}
this gives a loop…

Martin
- 1,031
- 2
- 8
- 3
95
votes
6 answers
JTable How to refresh table model after insert delete or update the data.
This is my jTable
private JTable getJTable() {
String[] colName = { "Name", "Email", "Contact No. 1", "Contact No. 2",
"Group", "" };
if (jTable == null) {
jTable = new JTable() {
public boolean…

user236501
- 8,538
- 24
- 85
- 119
93
votes
10 answers
Refreshing all the pivot tables in my excel workbook with a macro
I have a workbook with 20 different pivot tables. Is there any easy way to find all the pivot tables and refresh them in VBA?

Lipis
- 21,388
- 20
- 94
- 121
88
votes
7 answers
maintaining TreeSet sort as object changes value
I've got a object that defines a 'natural sort order' using Comparable<>.
These are being stored in TreeSets.
Other than removing and re-adding the object, is there another way to update the sort when the members that are used to define the sort…

Stevko
- 4,345
- 6
- 39
- 66
85
votes
14 answers
Refresh (reload) a page once using jQuery?
I'm wondering how to refresh/reload a page (or even specific div) once(!) using jQuery?
Ideally in a way right after the DOM structure is available (cf. onload event) and not negatively affecting back button or bookmark functionality.
Please,…

Pete
- 853
- 1
- 6
- 4
76
votes
17 answers
How do I reload a page without a POSTDATA warning in Javascript?
I want to reload a page using:
window.location.reload(true);
But I receive the POSTDATA warning because the refresh function want to resend previous POST form data. How can I refresh my page without this warning?
UPDATED: I have no control of the…

Ricibald
- 9,369
- 7
- 47
- 62
74
votes
10 answers
Best Way to Refresh Adapter/ListView on Android
My book, "Hello Android" gives this as a way of using a custom db helper, setting up a cursor, and then setting up an adapter as follows:
Cursor cursor
CustomDatabaseHelper test = new CustomDatabaseHelper(this);
try {
cursor = getData();
…

Simon
- 1,385
- 1
- 11
- 20
62
votes
7 answers
Xcode: Any way to refresh/re-run the playground?
The Playground in Xcode automatically updates as you type, but I can't figure out how to get the Playground to "re-compile".
In many cases this wouldn't matter, but if you're writing code that generates or uses random values it can be useful to run…

shim
- 9,289
- 12
- 69
- 108
60
votes
6 answers
Difference between F5, Ctrl + F5 and click on refresh button?
I have often experienced while developing my web applications that pressing F5 or refresh doesn't produce or refresh the proper result. But when we hit Ctrl + F5 it generates the correct result. What is the basic difference between simple F5 and…

Awais Qarni
- 17,492
- 24
- 75
- 137
60
votes
12 answers
flutter: no refresh indicator when using RefreshIndicator
I added the RefreshIndicator to my page, but there is no indicator visible when pull to refresh. The code is below:
class HomePage extends StatefulWidget {
HomePage({Key key, this.title}) : super(key: key);
final String title;
@override
…

mianlaoshu
- 2,342
- 3
- 27
- 48
58
votes
2 answers
How do you prevent Xcode 7 Playgrounds from automatically running?
I'm working on an Xcode 7 Playground that has many things running at once. Whenever I make an edit, it refreshes, restarts what was running and runs through the entire code again. That crashes my playground around every 15 minutes. Is there a way to…

BK15
- 739
- 1
- 6
- 11
57
votes
10 answers
Is there a better way to refresh WebView?
Ok. I have looked EVERYWHERE and my little brain just can't understand a better way to refresh an activity. Any suggestions that I can understand would be great. :)
Here is the java code:
package com.dge.dges;
import android.app.Activity;
import…

cdg
- 583
- 1
- 5
- 5
56
votes
4 answers
How to refresh the environment of a PowerShell session after a Chocolatey install without needing to open a new session
I am writing automated script for cloning GitHub source code to local machine.
I failed after installing Git in my script, it asked for close/open powershell.
So I am not able to clone code automatic after installing Git.
Here is my code:
iex…

Priya Rani
- 1,063
- 3
- 11
- 21