SQLite JDBC(Full Article)

Posted On: 27 Apr, 2009 Continue...
Hello World Example(Full Article)

Posted On: 27 Apr, 2009 Continue...
Java Class Example(Full Article)

Posted On: 27 Apr, 2009 Continue...
Java Interface Example(Full Article)

Posted On: 27 Apr, 2009 Continue...
Do While Loop(Full Article)

Do while loop executes group of Java statements as long as the boolean condition evaluates to true.

It is possible that the statement block associated with While loop never get executed because While loop tests the boolean condition before executing the block of statements associated with it.

In Java programming, sometime it's necessary to execute the block of statements at least once before evaluating the boolean condition. Do while loop is similar to the While loop, but it evaluates the boolean condition after executing the block of the statement.

Do While loop syntax

Do{

<Block of statements>;

}while();

Block of statements is any valid Java code. Boolean condition is any valid Java expression that evaluates to boolean value. Braces are options if there is only one statement to be executed.

Posted On: 27 Apr, 2009 Continue...
While loop Example(Full Article)

Posted On: 27 Apr, 2009 Continue...
break statement(Full Article)

Break statement is one of the several control statements Java provide to control the flow of the program. As the name says, Break Statement is generally used to break the loop of switch statement.

Please note that Java does not provide Go To statement like other programming languages e.g. C, C++.

 

Break statement has two forms labeled and unlabeled.

 

Posted On: 27 Apr, 2009 Continue...
Welcome to the world of NetBeans IDE & Java(Full Article)

In this article I want to show you to write a simple hello world example using Java & NetBeans IDE 6.

Posted On: 27 Apr, 2009 Continue...
Convert Java to EXE(Full Article)

    "How do I make an .EXE file from my Java application?", "Need help converting jar to exe", "Is it possible to create a Windows executable using Java?" --- these and similar questions are among the most popular topics on Java developer forums. Should you start such a topic today, you are likely to encounter the following three types of replies:

Posted On: 27 Apr, 2009 Continue...
Packaging and Deploying Desktop Java Applications(Full Article)

One question that a lot of beginning programmers have is: "Now that I've created my application in the IDE, how do I get it to work from the command line outside of the IDE." Similarly, someone might ask, "How do I distribute this application to other users without having to give them the whole IDE as well?"

The answers to these questions are relatively simple, but not necessarily obvious. This document addresses those questions by taking you through the basics of using NetBeans IDE 5.0 to prepare your applications for distribution and then deploying those applications. In addition, this document provides information that you might need to configure your system (or which you might need to pass on to the users of your application). We will show a few different approaches for deploying an application, so that users can access the application by:

  • Double-clicking the application's Java Archive (JAR) file.
  • Calling the application from the command line.
  • Calling the application from a script file.

Along the way, we will cover some basics of JAR file structure and how JAR files are dealt with inside IDE projects.

Posted On: 27 Apr, 2009 Continue...

 1 2 >