Loading

Tutorials

  • Submitted by: 
    This simple note script was created using HTML and JavaScript. You can use it for broadcast special events or news in your site. You can easily dismissed it, and users allow to specify the Frequency of its appearance, it's either once per session browser or every time the page loaded. Lastly, in any browser, you can drag the note where you want to placed it. Direction: First , kindly copy this...
  • Submitted by: 
    This tutorial will teach you how to create a program that can detect and display the screen resolution in vb.net. 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 . 2. Next, add only two labels named Label1 and Label2...
  • Submitted by: 
    The following program prompts the user to enter the radius of a circle. The program then outputs the circle’s radius, area and circumference. . I will be using the JCreator IDE in developing the program. To start in this tutorial, first open the JCreator IDE, click new and paste the following code. import javax.swing.JOptionPane ; public class AreaCircumference { public static final double PI = 3...
  • Submitted by: 
    The following is a simple Java application program showing where in a Java program import statements, the method main, and statements such as named constants, declarations, assignment statements, and input and output statements typically appear. I will be using the JCreator IDE in developing the program. To start in this tutorial, first open the JCreator IDE, click new and paste the following...
  • Submitted by: 
    This tutorial will teach you how to create a program that will add multiple pictures dynamically and will show the selected picture in the picturebox using vb.net. 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 . 2. Next, add only one Button named...
  • Submitted by: 
    This tutorial will teach you how to create a program that sorts the content of file in vb.net. 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 . 2. Next, add one button named openBTN and an OpenFileDialog1 that we...
  • Submitted by: 
    In this tutorial, you will learn the basic elements and concepts of Java Programming language to create a Java Program. You will know the effect of an output statement in this program. I will be using the JCreator IDE in developing the program. To start in this tutorial, first open the JCreator IDE, click new and paste the following code. public class MyFirstJavaProgram { public static void main...
  • Submitted by: 
    In the previous tutorial, we covered how to create a text file in Java, and then store values in it. First, let's create a simple program that stores two values in a text file. import java.io.* ; public class output { public static void main ( String [ ] args ) { try { File newTextFile = new File ( "data.txt" ) ; FileWriter toFile = new FileWriter ( newTextFile ) ; int hours = 35 ; int pay = 15...
  • Submitted by: 
    This is a scroller that displays messages by highlighting each one of it. Example //--> Direction: Just simply add the codes below, to paste it where you want the scroller to appear in your page. <div style="position:relative;left:0px;top:0px"> <span id="highlighter" style="position:absolute;left:0;top:0;font-size:18px;font-family:Helvetica;background-color:antiquewhite;clip:rect(0px 0px...
  • Submitted by: 
    Many times it is important to write output to a file to be saved. This is commonplace in just about every kind of Java application - from business to games. It allows the users information/status/progress to be saved or recorded for future reference. In order for this to work, the simplest solution is to create a file in the same folder as the Java program. For this example, we are going to...

Pages