public class Updater
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static @NotNull java.lang.String |
LAST_UPDATE_KEY
The preferences key for last update.
|
Constructor and Description |
---|
Updater(@Nullable java.awt.Component parentComponent,
@NotNull Exiter exiter,
@NotNull java.lang.String updateFileName)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
@NotNull public static final @NotNull java.lang.String LAST_UPDATE_KEY
public Updater(@Nullable @Nullable java.awt.Component parentComponent, @NotNull @NotNull Exiter exiter, @NotNull @NotNull java.lang.String updateFileName)
parentComponent
- the parent component to show dialogs onexiter
- the exiter for terminating the applicationupdateFileName
- the file to update