Added loading from dictionary.

This commit is contained in:
maj83 2020-04-21 12:49:27 +01:00
parent e3f0f9d2b9
commit 4c1eccb458

View file

@ -4,12 +4,20 @@ import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import java.util.LinkedList;
public class Main extends Application{
public static LinkedList<DictionaryEntry> dictionary = new LinkedList();
public static void main(String[] args) {
dictionary.add(new DictionaryEntry("abbey", "abaty", "nm"));
dictionary.add(new DictionaryEntry("believe", "credu", "verb"));
dictionary.add(new DictionaryEntry("concert", "cyngerdd", "nm"));
dictionary.add(new DictionaryEntry("disease", "clefyd", "nm"));
dictionary.add(new DictionaryEntry("extremely", "dros ben", "other"));
dictionary.add(new DictionaryEntry("flu", "ffliw", "nm"));
launch(args);
}