|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.sf.latexdraw.util.VersionChecker
public class VersionChecker
This class allows to check if a new version of LaTeXDraw is out. This class is a child of Thread
to avoid a freeze when the application starts.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
05/20/2010
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static java.lang.String |
ID_BUILD
The identifier of the build |
protected javax.swing.JLabel |
notificationTextField
The field where messages will be displayed. |
static java.lang.String |
PATH_MSG
The path of the file containing the news |
static java.lang.String |
VERSION
The version of the application |
static java.lang.String |
VERSION_STABILITY
|
static boolean |
WITH_UPDATE
To change if update is needed or not. |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
VersionChecker(javax.swing.JLabel notificationTextField)
Creates the version checker. |
Method Summary | |
---|---|
protected void |
checkNewVersion()
Checks if a new version of latexdraw is out. |
void |
run()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
public static final java.lang.String VERSION_STABILITY
public static final java.lang.String ID_BUILD
public static final boolean WITH_UPDATE
public static final java.lang.String PATH_MSG
protected javax.swing.JLabel notificationTextField
Constructor Detail |
---|
public VersionChecker(javax.swing.JLabel notificationTextField)
notificationTextField
- The field where messages will be displayed.
java.lang.IllegalArgumentException
- If notificationTextField is null.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected void checkNewVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |