Skip to content
Snippets Groups Projects
Commit 543b6633 authored by alilakj's avatar alilakj
Browse files

varovainen kokeilu kontrolleriin jatkuu

parent 943de23e
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
<name>ht</name>
<comment></comment>
<projects>
<project>tavaranpaikka</project>
</projects>
<buildSpec>
</buildSpec>
......
package fxTavaranPaikka;
import fi.jyu.mit.fxgui.ModalController;
//import javafx.fxml.FXML;
import javafx.fxml.FXML;
import fi.jyu.mit.fxgui.Dialogs;
......@@ -11,8 +11,7 @@ import fi.jyu.mit.fxgui.Dialogs;
* Ohjelman pääkontrolleri.
*/
public class TavaranPaikkaGUIController {
@FXML
void onActionTallenna() {
@FXML void onActionTallenna() {
tallenna();
}
......
......@@ -12,7 +12,7 @@ import javafx.fxml.FXMLLoader;
* TavaranPaikka -rekisterin pääohjelma. Ohjelmointi2, harjoitustyö.
*/
public class TavaranPaikkaMain extends Application {
//@Override
@Override
public void start(Stage primaryStage) {
try {
FXMLLoader ldr = new FXMLLoader(getClass().getResource("TavaranPaikkaGUIView.fxml"));
......
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