mirror of
https://github.com/macocianradu/javaGUItoolkit.git
synced 2026-03-18 13:40:04 +00:00
improved paint efficiency debugged relative position removed bug in parser for empty attribute methods
16 lines
282 B
Java
16 lines
282 B
Java
package guiTree.Helper;
|
|
|
|
public class Timer {
|
|
private long now;
|
|
private long prev;
|
|
|
|
public void startTiming() {
|
|
prev = System.currentTimeMillis();
|
|
}
|
|
|
|
public long stopTiming() {
|
|
now = System.currentTimeMillis();
|
|
return now - prev;
|
|
}
|
|
}
|