aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to run my NetBeans project? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to run my NetBeans project?" Watch "How to run my NetBeans project?" New topic
Author

How to run my NetBeans project?

David Herron
Greenhorn

Joined: Jul 27, 2011
Posts: 12
To understand the full picture, here is my assignment:

Write an inheritance hierarchy for class Quadrilateral, Trapezoid, Parallelogram, Rectangle, and Square. Use Quadrilateral as the super class of the hierarchy. Make the hierarchy as deep I.e., as many levels) as possible. Specify the instance variables and methods for each class. The private data of the Quadrilateral should be the x-y coordinate pairs for the four end-points of the Quadrilateral. Write a program that instantiate objects of you classes and outputs each object area (except Quadrilateral)

When I try to run this I get:
quadrilateral.Quadrilateral class wasn't found in the Quadrilateral project
Select main class:
"No main class found".

My classes are all separate .java files within my Quadrilateral Java application project

I have a hard time understanding how to use NetBeans, but it is what I am required to use.

Thanks





David Herron
Greenhorn

Joined: Jul 27, 2011
Posts: 12
Nevermind.. I did not have a main method for starters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run my NetBeans project?