Tutorials

Change Default Cursor to Hand Cursor in Java

Submitted by donbermoy on
In this tutorial, we will create a program that will change the default cursor into a hand cursor in java like the image below. hand cursor So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of jCursor.java. 2. Import java.io package. Hence the cursor class is in the input/output library.

How to Create a Reports using Crystal Report in Visual Basic.Net

Submitted by joken on
In this tutorial, I'm going to show how to create a report in Visual Basic using Crystal reports. As I know, some of programmers have a difficulty on how to add or create a report on their application, especially the those enthusiast individuals who are about to start their journey to become a better programmer. So I hope this tutorial of mine will be useful for your works.

How to Clear Multiple Textbox in a Smart Way using Visual Basic

Submitted by joken on
In this tutorial, I'm going to show how to create an application that will help you to save more time and number of lines of code just to clear your multiple textbox in a single form. This time, let's start building our application: Step 1. Create a new project in visual Basic 2008, then design the interface that looks like as shown below: c1

How to Check if a File is Hidden or Not using Java

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program in java that will check if a file is hidden or not. So, now let's start this tutorial! 1. Open Notepad. It's up to you if you will write data in there or not. Save it to the same folder with your java program and named it as READ FIRST.txt. and make sure to hide this file. 2. Open JCreator or NetBeans and make a java program with a file name of hiddenFile.java. 3. Import java.io package. Hence the file class is in the input/output library.

JColorChooser Component in Java

Submitted by donbermoy on
Today, i will teach you how to create a program that has the JColorChooser component in Java. We have ColorDialog in VB.NET and C# and this is equivalent to the JColorChooser in Java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of colorChooser.java. 2. Import java.awt.* and javax.swing.* packages because we will going to have the JColorChooser component in swing and also the JPanel as the container of this.

How to get a SubString of a String in Java

Submitted by donbermoy on
This is a tutorial in which we are going to create a program that gets substring of a string in java. We all know that a substring is a part of a sentence or a string. Java String class provides substring method with some overloaded parameter. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of subString.java. 2. Import java.lang package because in this library, substring class is there.

How to Generate a Random Number in Java

Submitted by donbermoy on
In this tutorial, we will going to create a program that generates a random number using Java. We will just use the Math.random() function which returns a random number between 0.0 and 1.0 Now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of randomNumber.java. 2. Import javax.swing package.

Checking an Internet Connection in C#

Submitted by donbermoy on
This is a tutorial in which we will going to create a program that can determine if your are connected in the internet or not using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. Name your program internet csharp. 2. Next, add only one Button named Button1 and labeled it as "Check Internet Connection".

Text Editor in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a basic text editor in Visual Basic. Design: The design for this program is; Button, button1, Save the document. Button, button2, Open a document. Textbox, textbox1, Contain the document text. Imports: The only thing we need to import is System.IO which allows us to access files from the computers FileSystem...