-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
126,330 additions
and
451 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Java/candyMarket/src/main/java/Client/Model/TimeMachine.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,28 @@ | ||
package Client.Model; | ||
|
||
import javafx.application.Platform; | ||
import javafx.fxml.Initializable; | ||
import javafx.scene.layout.BorderPane; | ||
import javafx.scene.layout.Pane; | ||
|
||
public class TimeMachine { | ||
public static class reloadPageThread extends Thread{ | ||
Initializable initializable ; | ||
public reloadPageThread(Initializable initializable){ | ||
this.initializable = initializable; | ||
} | ||
@Override | ||
public void run() { | ||
while (true) { | ||
try { | ||
Thread.sleep(2000); | ||
} catch (InterruptedException e) { | ||
e.printStackTrace(); | ||
} | ||
Platform.runLater(() -> { | ||
initializable.initialize(null, null); | ||
}); | ||
} | ||
} | ||
} | ||
} |
Binary file modified
BIN
+4 Bytes
(100%)
Java/candyMarket/target/classes/Client/DataHandler/ClientSocket.class
Binary file not shown.
Binary file modified
BIN
+28 Bytes
(100%)
Java/candyMarket/target/classes/Client/GraphicController/AuctionMenuController.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Java/candyMarket/target/classes/Client/GraphicController/AuctionsMenuController.class
Binary file not shown.
Binary file modified
BIN
+199 Bytes
(110%)
Java/candyMarket/target/classes/Client/GraphicController/ScoreController.class
Binary file not shown.
Binary file added
BIN
+1.56 KB
Java/candyMarket/target/classes/Client/Model/TimeMachine$reloadPageThread.class
Binary file not shown.
Binary file modified
BIN
+121 Bytes
(140%)
Java/candyMarket/target/classes/Client/Model/TimeMachine.class
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.