GENERAL - Java Codes
Description This is a Code which acts as a small demo program & shows how to use the "HTMLEditorKit.Parser" and its implementing class "ParserDelegator" in the Swing system. Source Code import java.io.*; ...

Description This is a simple application written in Java, which parse the HTML file into the Editor Pane with hyperlinks. Source Code import java.util.logging.Level; import java.util.logging.Log ...

Description This source code is all about giving User a password and allowing him access only if his authentication matches. This code gives the basic concept for Password matching and can be developed for further use. Source Code <p ...

Description This code demonstrates use of Array and Vector to store the elements in Index form. Source Code import java.util.*; public class Main { public static void main(String[] args) ...

Description This is a code which when provided a set of results as input such as who is pass & who is fail then it calculates the number of students passed. Source Code import javax.swing.JOptionPane; p ...

Description Using Consol Appender We can create the log files... for avoiding the concept of main method compiling process in the program Source Code package edu.test; import org.apache.log4j.ConsoleA ...

Description It is an algorithm which is used to print a list of prime numbers upto a desired prime number. Source Code // Using a BitSet to demonstrate the Sieve of Eratosthenes. import java.awt.*; im ...

Description This is an example to depict scoping in Java. Source Code import java.awt.Container; import javax.swing.*; public class ScopingInJava extends JApplet { JTextArea outputArea; ...

Description This code demonstrates a Drop Down Bar. Source Code import java.awt.BorderLayout; import java.awt.Container; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import ja ...
