Java Tutorials

1. Read a file having a list of telnet commands and execute them one by one using Java

By: Oliver : 2023-05-11

Description: You can achieve this by reading the list of telnet commands from a file and executing them one by one using the ProcessBuilder class in Java. Here's some sample code that demonstrates how to do it


2. Open a .docx file and show content in a TextArea using Java

By: Maggie : 2023-05-11

Description: It is possible to read a .docx file using Java and display its contents in a text area, but it requires additional libraries and code to handle the file format.


3. Step by Step guide to setup freetts for Java

By: Ryan : 2023-05-08

Description: Follow these steps to setup of freetts for Java in your PC


4. Of Object, equals (), == and hashCode ()

By: Girish Manwani : 2023-05-04

Description: In Java, the Object class is the root class of all classes, which means that every class in Java is derived from the Object class. The Object class provides several methods that can be overridden in the derived classes, including equals(), ==, and hashCode().


5. Using the AWS SDK for Java

By: Emiley J : 2023-05-03

Description: Download the AWS SDK for Java from the SDK web page at http://aws.amazon.com/sdkforjava. After downloading the SDK, extract the contents into a folder.


6. Using the AWS SDK for Java in Eclipse

By: Emiley J : 2023-05-03

Description: If you use the AWS Toolkit for Eclipse, you can also start a new project in Eclipse based on the AWS SDK for Java or add the SDK to an existing Java project.


7. DateFormat sample program in Java

By: Manoj Kumar : 2023-05-01

Description: DateFormat is an abstract class that provides the ability to format and parse dates and times. The getDateInstance() method returns an instance of DateFormat that can format date information. It is available in these forms:


8. concurrent.Flow instead of Observable class in Java

By: Norman Chap : 2023-05-01

Description: To observe an observable object, you must implement the Observer interface. This interface defines only the one method shown here:


9. Calculator application in Java

By: Linda Ng : 2023-04-23

Description: This sample program uses Java Swing to display a calculation application. This program can be studied in detail to understand the basic Java constructs and Java Swing.


10. Getting Started with Java

By: Linda Ng : 2023-04-23

Description: If you are familiar with C then Java should be very familiar to you in terms of syntax. If you are a C++ programmer the Java will be easier still since Java is also purely an Object Oriented Programming without some of the features like Pointers in C++.