Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Starter

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I was wondering if someone could give me a general idea / outline on how to start off creating an application similar to something like Word (for argument sake) written in Java? I've read a fair bit on Java and done some basic stuff using it but now I want to dive into it deeper and I wanted to know just how to organize the structure of a larger app. Using the Word example, do I "have" to create a class with a void main? Where should I place this class? I'm using Eclipse and everything looks as though it needs to be packaged (under a project, under a project, etc..,). If someone could give me a general overview on how they would start to tackle such a task or provide a decent link or recommend a book doing so I'd appreciate it. Thanks.

Rob
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a very broad question!

I think what you're asking how to structure a GUI app in Java. For that, I suggest starting with this Java MVC example, and reading Java SE Application Design With MVC for more detail.

(Yes, every Java program needs a main method as an entry point.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic