Wednesday, August 13, 2008

An introduction to Java

An introduction to Java

This free tutorial series teaches the basics of Java programming. It requires no previous Java experience, and is perfect for the beginner. Tutorials cover a wide range of topics, from applets and applications, to more advanced issues such as class design, event handling and networking. For best results, you should read tutorials in sequence - but feel free to skip over a few lessons if you've already been learning Java from a book or elsewhere.

  • Java 101 : Hello World offers an introduction to Java, one of the hottest programming languages today.
  • Java 102 : Dealing with classes will help you get a grasp of objects and classes under Java, while providing a look at the syntax of constructing them.
  • Java 103 : File input and output shows how to read and write to files, using the built in FileInputStream and FileOutputStream classes of Java.
  • Java 104 : Extending classes covers the concept of inheritance under Java, allowing you to extend existing classes. The ease and simplicity with which inheritance allows classes to be modified makes re-use of code a reality!
  • Java 105 : Java Language package covers some of the most important classes from the java.lang package, including the numerical, string and System classes.
  • Java 106 : Introduction to applets gives an overview of how applets can be created and inserted into web pages.
  • Java 107 : AWT Event handling picks up where Java 106 left off, showing you how to create interactive applets that respond to user input.
  • Java 108 : AWT Overview presents an overview of the components provided by the java.awt package, such as buttons, lists, textfields, textareas and choice selection lists.
  • Java 109 : Networking with Java gives you an introduction to the java.net package. In this tutorial, you'll learn how Java handles IP addresses, and TCP sockets.

Tuesday, August 12, 2008

Java Beginners

Java Beginners

"Java Beginners" is a new series of articles aimed at people learning the basics of Java. These articles aim to teach important Java concepts, but at a gentler pace.

1. Is Java driving you loopy?

Loops and iteration can be tricky to master for beginners. In our no-nonsense guide, we take the complexity out of looping, so you won't go poco loco. [MAY 1, 2000]

2. Why is my applet gray? or
What causes applets to fail?

Everyone's seen it before - the ugly gray box of Java (UGBoJ). In this article you'll learn why they occur, and how to avoid them, with some simple to follow directions. [FEB 1, 2000]

3. Using MediaTracker to help load images

Images can cause a lot of problems for applets. They are often slow to load, and can cause animated applets to behave badly when images are only partially loaded. Learn how to use the MediaTracker class to help load images. [NOV 2, 1999]

4. Unraveling threads

Learn the basics of multi-threaded programming, with an easy-to-understand introduction to the topic. Includes an example of a multi-threaded applet, which displays a text-scrolling animation.
[JAN 5, 1999]