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
Executing $\NetBeansProjects\FXErycton\dist\run301274842\FXErycton.jar using platform C:\Program Files\Java\jdk1.7.0_45/bin/java | |
No controller specified. | |
file:$/NetBeansProjects/FXErycton/dist/run301274842/FXErycton.jar!/fxerycton/FXErycton.fxml:13 | |
at javafx.fxml.FXMLLoader$Element.processEventHandlerAttributes(FXMLLoader.java:486) | |
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:589) | |
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2464) | |
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2169) | |
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2061) | |
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2778) | |
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2757) |
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
/* | |
* | |
* | |
* | |
* private void OnAction(ActionEvent event) { | |
* Image img = new Image("C:\\Users\\kiichi\\Documents\\NetBeansProjects\\FXErycton\\src\\fxerycton\\img\\133.png"); | |
* img_Own_1.setImage(img); | |
* } | |
*/ |
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
Executing C:\Users\kiichi\Documents\NetBeansProjects\FXErycton\dist\run831460563\FXErycton.jar using platform C:\Program Files\Java\jdk1.7.0_45/bin/java | |
java.lang.IllegalArgumentException: argument type mismatch | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) | |
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package fxerycton; | |
import fxerycton.AppUtil.LovelyMyAngelAyase; |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package fxerycton.AppUtil; | |
import java.awt.Desktop; | |
import java.io.IOException; |
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
@FXML | |
public void SelectedToSingleBattle(ActionEvent event){ | |
txb_Elect_Own_4.setDisable(true); | |
txb_Elect_Rival_4.setDisable(true); | |
rb.setBattleType(1); | |
} | |
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
@FXML | |
public void FormExit(ActionEvent event){ | |
Platform.exit(); | |
} |
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 FXErycton extends Application { | |
@Override | |
public void start(Stage stage) throws Exception { | |
Parent root = FXMLLoader.load(getClass().getResource("FXErycton.fxml")); | |
root.setStyle("-fx-background-color: #F0591E;"); | |
Scene scene = new Scene(root); | |
stage.setTitle("FXErcycton v1.0.0"); |
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 FXErycton extends Application { | |
@Override | |
public void start(Stage stage) throws Exception { | |
Parent root = FXMLLoader.load(getClass().getResource("FXErycton.fxml")); | |
// 背景色 | |
root.setStyle("-fx-background-color: #E9967A;"); | |
Scene scene = new Scene(root); |
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
@Override | |
public void initialize(URL url, ResourceBundle rb) { | |
/*** | |
* アイコンの自動更新 | |
*/ | |
txb_Own_1.textProperty().addListener(new ChangeListener<String>() { | |
@Override | |
public void changed(ObservableValue<? extends String> observableValue, String s, String s2) { | |
Image img = new Image((getClass().getResource(rc.GetPath(txb_Own_1.getText()))).toString()); | |
img_Own_1.setImage(img); |
OlderNewer