We are pleased to announce that Oracle has completed its acquisition of Sun Microsystems and Sun is now a wholly owned subsidiary of Oracle. With this news, we want to reiterate our commitment to deliver complete, open and integrated systems that help our customers improve the performance,...
In this code snippet, you will learn how to activate a Button control using Java
/*<applet code = "Mybutton.class"
width = 250 height = 250></applet> */
//Compilation: javac Mybutton.java
//Execution: appletviewer Mybutton.java
import java.awt.*;
import...
In this code snippet, you will learn how to add a choice component using Java language /*<applet code = "Mycombo.class"
width = 250 height = 250></applet> */
//Compilation: javac Mycombo.java
//Execution: appletviewer Mycombo.java
import java.awt.*;
import...
Ever since the advent of the internet, Java has been the target for many developers. Many C++ developers migrated to Java within a short period of time. Many high quality multithreaded animations, games, distributed applications are being developed and implemented successfully. Moreover the java...
Ever since the advent of the internet, Java has been the target for many developers. Many C++ developers migrated to Java within a short period of time. Many high quality multithreaded animations, games, distributed applications are being developed and implemented successfully. Moreover the java...
Servlets are programs that execute on the server side of a web connection. Servlets dynamically extend the functionality of a web server. Servlets vs CGI Earlier Common Gateway Interface (CGI) programs written in C/C++/PERL was used in the server side, which resulted in serious performance...
RMI stands for Remote Method Invocation. A program running on a computer some where on the Internet can invoke a method that is resident in a program running somewhere else on the internet. To make this happen several things need to be done and all of them are built into the java.rmi package. RMI...
Assume that ABC Ltd is an automobile sales part manufacturing company that has many branches across the world. The corporate office at New York maintains MSAccess database for the sales details of various products, stock with each branch, personnel details etc. The New Delhi office wants to...
Java provides built in support for multithreaded programming. A Multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a Thread. Each thread defines a separate path of execution. Multithreading is a specialized form of...
In any interactive environment, the program should be able to respond to actions performed by the user. There actions can be Mouse click, Key Press or selection of a Menu Item. When the user initiates an action, the AWT generates an event and communicates it to event handlers. These event handlers...