How do I import Java programs into Netbeans?

By cccgsmith ·
I am a new user to both Java and Netbeans. I have written small Java programs and have successfully compiled and run them from the command prompt. And I have successfully written small Java programs in NetBeans and have run them. But, what I cannot figure out how to do is to take existing Java code (the .java file) and run it in NebBeans. I want to do so with friends programs as well as my own. I have tried various import options, etc. but cannot find the "magic sequence" to be able to do this. Can anyone help?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums