It's not a secret anymore!
The moose likes Beginning Java and the fly likes Application Starter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Application Starter" Watch "Application Starter" New topic

Application Starter

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 832
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.

marc weber

Joined: Aug 31, 2004
Posts: 11343

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.)

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: Application Starter
It's not a secret anymore!