 |
| |
| by: manila - 2009-10-08 03:59:29 |
|
| | A brief explanation of Class in Java. What is it? |
|
| |
|  |
 |
| |
| |
| | This is the first in what I hope will become a series of tutorials on the basics of Java. If you are already familiar with programming, this series will provide you with everything you need to know to get started with this portable language. In this article, I will explain some of the basics of the Java programming language and how to set up a basic development environment on your own PC using Sun's JDK 1.6. |
|
| |
|  |
 |
| |
| by: Solnus - 2007-01-02 16:03:16 |
|
| | Programming TCP connections in Java. |
|
| |
|  |
 |
| |
| |
| | This second article in my series on exceptions in Java will introduce you to the finally block. I will also go on to explain the structure of the standard Java API so that you understand the classes you will more than likely be extending in your own applications. |
|
| |
|  |
 |
| |
| |
| | In the following article, you will learn the basics of catching and using Exceptions in Java. This is the first of a few articles that I am going to write on the subject. In future articles, I will be telling you how to write your own exceptions for use in your applications, along with exception chaining to make more robust applications that report effective error messages. |
|
| |
|  |
 |
| |
| |
| | Rowset is a Java-Bean Compliant Object that Encapsulates Database Access. |
|
| |
|  |
 |
| |
| |
| A review of the book titled 'Wireless Java, Developing with J2ME' by Jonathan Knudsen, published via Apress.
If somebody were to ask me, “Which technologies have had the biggest impact on society in recent times?”, it is likely that the Internet and mobile telecoms would be at the top of my list. |
|
| |
|  |
 |
| |
| |
| | This is a result of a administration program I am working on at the moment. I wanted to store my data on an external sql server. So MySQL was my choice since I already had it up and running for my website. I have only been able to find sample codes for accessing a relational database with java. Here I will try to explain, in some detail, what and why we are doing what we do to access the database. |
|
| |
|  |
 |
| |
| |
| | A brief summary of the Observable interface. |
|
| |
|  |
 |
| |
| |
| Have you ever wondered how to associate actions to keys?
Here you is the code lets you associate those actions.
|
|
| |
|  |
 |
| |
| |
| In case you missed all the hype, Sun Microsystems has recently launched a new version of Java. In this tutorial I am going to take you through getting JDK 1.4 up and running in the Eclipse development environment, which is a very sexy open source Java development tool. I will also touch on Assertions - a new feature of JDK1.4. The article assumes you are running on Windows, but both Eclipse and JDK1.4 are also available for Linux.
|
|
| |
|  |
 |
| |
| |
| In this example I will be taking a quick look at Java's support for email
through the JavaMail API, and will produce a simple mail client capable
of sending email with file attachments.
|
|
| |
|  |
 |
| |
| |
| | A wrapper for Java's MD5 class that makes life a little easier. |
|
| |
|  |
 |
| |
| |
| | The Java SDK 1.4 has now come standard with libraries for protection of information. Among these libraries are the libraries for encryption. Encryption is a valuable resource for programmers who need to write secure software. |
|
| |
|  |
 |
| |
| |
| This tutorial shows how easy it is to access Microsoft COM objects using Java.
Before I start the tutorial I want to make a few things clear...
Firstly, If you want to write Windows applications that make use of COM, you should really be coding in VB or C#, however there are times when it makes sense to write your application in Java, but you really need to use some functionality provided by COM - Such as accessing a Microsoft Exchange server from a Java Web server.
Secondly, this tutorial makes use of IBM's bridge2Java technology. There are lots of alternative technologies out there, but I like IBM's solution because it's easy to live with - it just works.
|
|
| |
|  |
 |
| |
| |
| Often in programing and especially in OOP (Object Oriented Programming) we find ourselves in a position where a variable is of a particular data type, when we really need it to be of another. To do this we use typecasting or type conversion.
|
|
| |
|  |
 |
| |
| |
| YAPS - Yet Another Port Scanner
Ok, I'm learning socket programming in java so i made a port scanner. Hope this will help people with the idea of error checking within the program, and starting a connection with a host. |
|
| |
|  |
 |
| |
| |
| | Seems you guys want more tutorials; well here is a simple explanation of Arrays, and how to sort them in one of our more popular languages, Java. |
|
| |
|  |
 |
| |
| |
| | Debugging backward in time, see what the program's result was.. and see where the result was wrong.. you can see everything.. i suggest to at least look at the program.. it might save a lot of your time(and probably will). You can prolly read more on the site: www.LambdaCS.com |
|
| |
|  |
 |
| |
| |
| | FreeTTS is a speech synthesizer written entirely in the Java programming language. Which is quite remarkable because Java isn't the first language that'd pop in my mind if I had to make such a device. |
|
| |
|  |
 |
| |
| |
| | Sometimes you choose to place constants in an interface. Sometimes constants require complex initialization. Since all variables in an interface are final, you cannot assign a value that requires more than one operation, or relies on a result of some more complex computation. |
|
| |
|  |
 |
| |
| |
| | The behaviour of Java’s ‘string literals’ is a commonly misunderstood feature of the platform, but with a little knowledge of this system and some liberal hacking using the reflection API it is possible to cause ‘System.out.println(“Hello World”)’ to actually display a completely different piece of text… doubters read on… |
|
| |
|  |
 |
| |
| |
| | PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. This release includes a number of new rules and bugfixes. . |
|
| |
|  |
 |
| |
| |
| | The AWT (Abstract Windowing Toolkit) is a commonly used GUI API in Java, and it contains a lot more than you might think. . . |
|
| |
|  |
 |