Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (671)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: The main idea I didn't get from the Sun tutorial. on: 2008-07-09 18:20:28
If you're just starting out in java, it's generally not a good idea to start with a big IDE like Netbeans or Eclipse. Start with notepad and the command line first, then progress to the bigger IDEs when you actually understand what's going on under the hood.

hm, I'll try that. I need more practice navigating with cmd anyway. I doubt I'll deal with Swing much right away if I'm doing that, but I can still import the swing libraries as usual if I wanted to, right?
2  Game Development / Newbie & Debugging Questions / Re: The main idea I didn't get from the Sun tutorial. on: 2008-07-09 18:03:02
That was actually the exact answer I was trying to get. Smiley Thanks! So upon compiling those two .java files, I'd tell Netbeans (for example) to compile as I would anything else since it puts them in the same package when I make them. right?

Oh also, assuming I make a class to handle the calculations, I can call methods from it in other objects, right? It doesn't have to be the one with the main?

i.e. in the event handling class, I can tell it to, instead of printing out a line, to look to to call calc.add? Or do I have to call new calc() first?

I would just fiddle and test all this myself, but I'm at work right now and I don't think these computers have the SDK.
3  Game Development / Newbie & Debugging Questions / The main idea I didn't get from the Sun tutorial. on: 2008-07-09 17:15:05
Okay, so I'm comfortable with Visual Basic's program setup. (A main form + a bunch of modules to hold your functions.) What I didn't understand in the tutorial on the Sun website was how the pieces fit together. Say I wanted to make a basic calculator program with a swing UI. Would I have a bunch of .java files for each object/class I make? Where would I call these methods, tell the program to run some on startup or event handling code? As of now I can write some decent object code but I have NO clue how to make them work together. Thanks for any help.
Pages: [1]
IanParcs (39 views)
2016-04-18 14:18:53

KaiHH (38 views)
2016-04-18 08:35:41

KaiHH (70 views)
2016-04-15 12:43:58

theagentd (71 views)
2016-04-14 02:16:17

theagentd (83 views)
2016-04-14 02:15:43

IanParcs (97 views)
2016-04-12 03:51:16

IanParcs (39 views)
2016-04-12 03:50:03

IanParcs (36 views)
2016-04-12 03:49:54

IanParcs (32 views)
2016-04-12 03:49:52

IanParcs (40 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!