Simple Program Help
Hello, I'm trying to learn the basics on how to make simple programs with Swing and I was wondering if anyone (most likely GregBrannon) would create an example program fro me. It's really helpful when people write example programs on how to do something for me so I can study how they did it and what habits I should start developing.
Things I want the program to include are:
1. Some sort of competitive numbers game (simple game, maybe something you click in order to get a randomized number or something)
2. Have scores displayed on the frame (that can be updated) and maybe 1-4 simple computer opponnents.
3. Last, just some button to click or something clickable so I can learn MouseInput
4. Also how to load a simple image and background or something like that
Once again, I'm not asking for a lot, just something simple and that works. Anything would help! Thanks!
Re: Simple Program Help
Sorry to disappoint.
Examples that do what you ask are available in quantity on the web. Search for them.
You learn and then build confidence in what you've learned by doing. Spend significantly more time doing than time spent reading about. Quit jumping around half-studying random topics that don't contribute to a solid foundation of knowledge of basic to intermediate knowledge. From that advanced studies and knowledge will come more easily.
I originally wrote a list of projects that satisfy what you've asked for that you could find and then do, but that's wrong. Sit down with a good Java book, work it in order from cover to cover, typing out every example and completing every exercise, THEN and only then move onto your dream projects.