357mag said:
Well actually I did download Borland's Foundation and I found it very complicated to use. When you start a new project the code window already has a bunch of complicated code in it's window. That I don't want or need at this point.
What you need at this point is to understand how to get around in the basic syntax of Java before trying to get ahead.
In Jbuilder you start a new project with nothing and have to add a class to do anything. This is what you get when you add a class:
Code:
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Test {
public Test() {
}
public static void main(String[] args) {
Test test = new Test();
}
}
The top portion with the astericks are just comments. You can delete them.
After that is the class test. This is the clase you want to type your code into.
After that is a public procedure Test and main, I'm a bit fuzzy (it's been a year since I've REALLY used Java) , but I believe main runs when your application starts and initializes your class - the Test procedure is run when the class is initialized.
You need to create procedures to place your code or place your code within these lines of code you say you do not need.
I want to use an IDE that will allow me to start a new project with an absolutely empty code window, in which I can type my code from my book, hit the compile and run button, and my program runs. I have not found a way to do that in JBuilder yet.
You won't find a way to do that in any language that I know of short of BASIC maybe... VB6 has very little code in the window because it's all hidden from you.
The code generated above is pretty much standard requirements to run for Java, C#, J# and VB.net.
If you're learning Java, you shouldn't be touching the keyboard until you know what these things are:
Class
Constructor
Method
Comments
Basic variable types (String, char, int, double, etc)
Basic Java I/O methods.
If you don't understand what these things mean and how they appear in code, you won't understand what is happening and like now you'll get confused and angry when something doesn't work 100% and you get lost.
Java isn't an "empty code box" language and if someone did create an IDE with an option like that, they would be doing you (and their customers) a disscervice and it would hinder you much more than it would help in the long run.
Oh, PS, this is a .Net forum, not a Java forum. A Java forum will be best equipped to help you learn Java. You want to learn .Net (C#, J# or VB.Net) stick around here