-
-
Save KingC100/99fd98abef4db603e875 to your computer and use it in GitHub Desktop.
jar get resrouce
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
URL url = __ClassName__.class.getResource("res/0.png"); //src以下を参照。 | |
Image icon = new Image(url.toString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment