Added loading from dictionary.
This commit is contained in:
parent
e3f0f9d2b9
commit
4c1eccb458
1 changed files with 10 additions and 2 deletions
|
@ -4,12 +4,20 @@ import javafx.scene.Scene;
|
||||||
import javafx.scene.layout.Pane;
|
import javafx.scene.layout.Pane;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
import java.util.LinkedList;
|
||||||
|
|
||||||
|
|
||||||
public class Main extends Application{
|
public class Main extends Application{
|
||||||
|
|
||||||
|
public static LinkedList<DictionaryEntry> dictionary = new LinkedList();
|
||||||
|
|
||||||
public static void main(String[] args) {
|
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);
|
launch(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue