leepoint.net
Java: Preface
http://www.leepoint.net/background/01preface.html
Purpose of these notes. These notes were started to fill in areas that textbooks didn't adequately teach. Where features were adequately covered in the textbook (eg, loops), you won't find much here. Where features are missing entirely from the textbook (eg, GUI! There are more notes. Choices made in these notes. Use recent Java language features. Currently including some version 1.5 features). Emphasize Graphical User Interfaces. These text of these notes is released under the MIT License.
leepoint.net
Java: Directories and Files
http://www.leepoint.net/background/13files_and_directories/60directories_files.html
Put all source files into a directory, one class per file. When you start a new project, create a new directory for the source files. The directory name should be lowercase letters, with no blanks or other punctuation. The directory is used as the package. Each class should be defined in its own .java file. Put each of your classes in its own file. It's easy to do. Here are a couple of minor rules. Make sure all classes (.java files) are in the same directory (folder). Main( . .). See Packages - Defining.
leepoint.net
Java: TextPad Editor + JDK
http://www.leepoint.net/tools/50textpad.html
1 Download and install the Java JDK if necessary. Install the J2SE JDK. See Java Development Kit (JDK). 2 Download and install TextPad. A free, trial version of TextPad from www.textpad.com. You will be reminded from time to time that you might pay for it, but don't worry, it won't expire. TextPad by double clicking on the downloaded file and following the prompts. Do this only after you have installed the Java JDK. 3 Entering, compiling, and executing your Java program in TextPad. System.out.pri...JOpti...
leepoint.net
Java: My Favorite Java Books
http://www.leepoint.net/background/books/favorite-java-books.html
My Favorite Java Books. My standard book questions. When I think about textbooks and other books, I usually ask myself some questions:. Would this be a book I would buy if I wanted to learn the subject on my own? Can the book later be used as a reference? What do the Amazon reviews say? If it was used in a course, should I keep or throw it out? The following books aren't going to give the absolute beginner a simple enough start, but if you already know about variables. Core Java volumes I II. I have mixe...
leepoint.net
Java: Java Development Kit (JDK)
http://www.leepoint.net/tools/jdk.html
Java Development Kit (JDK). The most popular Java compiler is Sun's Software Development Kit (JDK). Aka Software Development Kit (SDK). It's free, and does a good job. The only problem is that the compiler is only a compiler - there is no editor and no graphical user interface. It is typically used in one of the following ways. From the DOS command window with the. With a program editor (eg, TextPad. Which has an interface to the compiler. With an IDE (Integrated Development Environment). See IDEs. If yo...
leepoint.net
Java: NetBeans Code Snippets
http://www.leepoint.net/tools/netbeans/netbeans-code-templates.html
One of the very nice things about the NetBeans editor (and many other editors), is that they allow you to insert predefined blocks of code easily. This makes writing some wordy blocks of standard code very easy. Many IDEs refer to these little pieces of code as snippets. But NetBeans refers to them as templates. Here are some that I use frequently. How to add them to NetBeans. You can copy and paste the sample code below into NetBeans. Icon in the left panel. Generic GUI program (xgui). This produces mos...
leepoint.net
Java Basics: Table of Contents [First Draft - June 2005]
http://www.leepoint.net//JavaBasics/index.html
Methods 1 - Introduction to methods. Methods 2 - Actual arguments (parameters). Methods 3 - Defining a static method. Methods 4 - Local variables. Methods 5 - How call works. Methods 6 - Example with three methods. Methods 7 - Overloading. Commentary: Why use methods? Commentary: Why start with static methods? Commentary: Pass by value / reference / name / . Commentary: Missing from Methods chapter. OOP: Defining Value Classes. OOP 1 - Introduction to OOP. OOP 2 - Data - Student Class. OOP 8 - Visibility.
onjava.blogspot.com
OnJava: November 2004
http://onjava.blogspot.com/2004_11_01_archive.html
General / WWW / Technology. Latest Technology and News. IndiaBulls-Stocks that will move. Infosys - Latest News/Views. ClickOnline - Cool Sites. Latest News - Reuters/BBC/CNN. Why OutSourcing, OffShoring? NetCrucible - Semantic Web. Cartoon Stock - Niche Collection. Largest Collection of Sard Jokes. Funology - Science of Having Fun. Sunday, November 21, 2004. Writing JSPs in XML using JSP 1.2. Posted by Sachin Saurabh Saxena @ 10:04 PM. Monday, November 15, 2004. Posted by Sachin Saurabh Saxena @ 1:06 PM.
psk-java.blogspot.com
java: April 2010
http://psk-java.blogspot.com/2010_04_01_archive.html
Http:/ www.cs.colostate.edu/. Online Java Version Tester. Http:/ java.sun.com/javase/. Http:/ java.sun.com/docs/books/tutorial/java/. Wednesday, April 28, 2010. Http:/ www.java-examples.com/java-string-split-example. Java String split example. This Java String split example describes how Java String is split into multiple. Java String class defines following methods to split Java String object. String[] split( String regularExpression ). Splits the string according to given regular expression. Simple sin...