Results 1 to 8 of 8
Thread: how to start off in net beans
- 06-21-2011, 09:39 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 8
- Rep Power
- 0
how to start off in net beans
As per instruction from my previous thread, I downloaded netbeans IDE but now I don't know how to start off. Where I shall write code and how to compile code? In netbeans, I clicked File >> New Project >> JAVA Application >> there it has some templates with words like public static void main....I wrote "System.out.println ("Hello World!)" but now how to view outpu?
Basically I want to write this basic code in netbeans to start off
class HelloWorld {
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
-
NetBeans should have an online tutorial that will walk you through starting out with it. I suggest you start with that.
- 07-15-2011, 03:40 AM #3
Senior Member
- Join Date
- Nov 2010
- Posts
- 150
- Rep Power
- 3
Did you located the tutorial because I can't. A link would be appreciated. I am migrating from Jgrasp to this and I have not had much luck.
- 07-15-2011, 04:17 AM #4
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Google: "java tutorial netbeans"
- 07-15-2011, 04:52 AM #5
Senior Member
- Join Date
- Nov 2010
- Posts
- 150
- Rep Power
- 3
Thanks Sunde887. They should create a sticky for each IDE on how to get started in the "area". There is a sticky about what beginners should do in the new to Java sub-forum, so it's not far fetched.
Last edited by bigsonny; 07-15-2011 at 04:59 AM.
- 07-15-2011, 04:58 AM #6
Senior Member
- Join Date
- Nov 2010
- Posts
- 150
- Rep Power
- 3
The first tutorial that comes up, I had already found it. Are you aware of anything more detailed? I am curious about the fact that everything is a project or a package. In anticipation for app building, I am looking to start using Netbeans (or eclipse...) from JGrap and I partially enjoy the ability to write a simple class without having to declare a project around it. This is really useful as I am going still going through the Trails.
- 07-15-2011, 09:16 AM #7
Moderator
- Join Date
- Apr 2009
- Posts
- 10,448
- Rep Power
- 16
Create a scratch project.
I always have one wherever I work to try out bits of code.
You can then simply write your tutorial classes in there as you need them.
- 07-15-2011, 11:36 AM #8
In real life, all code is part of some project or another. All the major IDEs are geared toward such real life situations encountered by programmers. Not toward academic assignments that consist of one to five code files.
If you're planning to make a career of programming, get used to the 'project' and 'workspace' concepts. They are not unique to NetBeans.
db
Similar Threads
-
Start Swing GUI program by Java Web Start with IE in Eclipse debug mode
By albertkao in forum EclipseReplies: 1Last Post: 01-18-2011, 06:27 PM -
How do you start a Java program from the "Start" menu under Windows?
By ScottVal in forum New To JavaReplies: 5Last Post: 03-20-2009, 10:04 PM -
How to make Beans Lazily-instantiating beans
By Java Tip in forum Java TipReplies: 0Last Post: 03-30-2008, 10:10 AM -
How to make Beans Lazily-instantiating beans
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:41 PM -
XML beans
By John in forum XMLReplies: 2Last Post: 08-09-2007, 07:05 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks