Skip to content
Snippets Groups Projects
Commit 5849749a authored by Lahtinen Konsta Aleksi's avatar Lahtinen Konsta Aleksi
Browse files

message

parent 5f5d52e0
No related branches found
No related tags found
No related merge requests found
DynamicComboBox/kuvat/uusiValinta.png

32.1 KiB

DynamicComboBox/kuvat/uusiValintaLaatikossa.png

5.88 KiB

<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import DynamicComboBox.DynamicComboBox?> <?import fi.jyu.mit.fxgui.DynamicComboBox?>
<?import javafx.collections.FXCollections?> <?import javafx.collections.FXCollections?>
<?import java.lang.String?> <?import java.lang.String?>
<DynamicComboBox xmlns="http://javafx.com/javafx/21" <DynamicComboBox xmlns="http://javafx.com/javafx/21"
xmlns:fx="http://javafx.com/fxml/1" xmlns:fx="http://javafx.com/fxml/1"
fx:id="dynamicComboBox"> fx:id="dynamicComboBox" editable="true">
<items> <items>
<FXCollections fx:factory="observableArrayList"> <FXCollections fx:factory="observableArrayList">
<String fx:value="Item 1"/> <String fx:value="Item 1"/>
......
package DynamicComboBox; package fi.jyu.mit.fxgui;
import javafx.beans.property.ListProperty; import javafx.beans.property.ListProperty;
import javafx.beans.property.SimpleListProperty; import javafx.beans.property.SimpleListProperty;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment