r/javahelp • • Jan 05 '20

New to Java

Im new to Java and im having issues understandings some things. and by some things, i mean a lot, i can really only create a window and load images (if they are loaded in the same Class, otherwise it only loads the last Class specified).

If this is the wrong subreddit for this type of question, please redirect me to the correct one if you could.

0 Upvotes

23 comments sorted by

View all comments

Show parent comments

1

u/PupperArmyDanceParty Jan 05 '20

It only loads the last Class specified in the code.

An example would be Class1, Class2, Class3 It would only load image drawing code from Class3 and ignore code in Class 1 and 2.

And i has some experiance with another Game Creation Tool with a similier to Java but a lot easier.

6

u/Roachmeister Java Dev Jan 05 '20

Java is not a game creation tool. It is a programming language. I'm sorry, I'm not trying to be insulting, but in another comment you said that the main thing you're having issues with is "making rooms", and that doesn't make any sense. You don't "make rooms" in Java.

I'm wondering if you are using some sort of Java based game creation tool, not Java itself, maybe?

1

u/PupperArmyDanceParty Jan 05 '20

Java Eclipse (more specificly, Oxygen October 2017)

1

u/whizvox Graduate and Tutor Jan 05 '20

I assume you're following a guide somewhere. If you are, could you link it?

1

u/PupperArmyDanceParty Jan 12 '20

No, not a guide, a friend helped me make a JPanel/JFrame thing and a short and basic image drawing sample thing.