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
import javafx.animation.KeyFrame; | |
import javafx.animation.Timeline; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Rectangle2D; | |
import javafx.stage.Screen; | |
import javafx.stage.Stage; | |
import javafx.util.Duration; | |
public class NotificationWindow { |
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
public void testMethod(){ | |
Task<Object> task = new Task<Object>(){ | |
@Override | |
protected Object call() throws Exception { | |
Object object = //ここの取得に時間がかかります | |
return object; | |
} | |
@Override | |
protected void succeeded(){ | |
//getValue()使っていろいろ |
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
public class HogeController{ | |
static ListView<Label> listview1; | |
static ListView<Label> listview2; | |
static void setlistview1(String string){ | |
Label label = new Label(string); | |
listview1.getItems().add(label); | |
} | |
static void setlistview2(String string){ |
NewerOlder