File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes how to run code in netbeans 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 code in netbeans" Watch "how to run code in netbeans" New topic
Author

how to run code in netbeans

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 995
    
    2
Jeanne Boyarsky wrote:System.out.println prints to system out which is a console or log file somewhere on your server. It is not the browser.

Also note that it is traditional for class names to begin with an uppercase letter in Java.


Thanks for your guidance, again here is a java code to retrieve data from database:




i want to use this code using netbeans, i add a class file into my project, and than how can i call that class file??
in simple words: how can i run this code using netbeans??

Thanks in advance.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

You should be able to right-click the .java source file and select Run File.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to run code in netbeans