I'm practicing for my project by trying to replicate the PvZ game. Why the getResourceAsStream() keep returning null.
I have tried "/PvZ/data/gfx/mainMenu.png"
and "PvZ/data/gfx/mainMenu.png"
, but none of them worked.
I'm practicing for my project by trying to replicate the PvZ game. Why the getResourceAsStream() keep returning null.
I have tried "/PvZ/data/gfx/mainMenu.png"
and "PvZ/data/gfx/mainMenu.png"
, but none of them worked.