Miscellaneous in Java
From codeuu,source code
| A 4 DIRECTION SCROLLABLE IFRAME |
This article shows how to scroll page within iframe up, down, left and right
| A Simple Rain Effect |
This is a simple Rain effect. This is something near to what these people at the Anfy's & others' are selling in a pack, with other effects, for $10-$15!!! I was inspired to write this code seeing "Fabian Jones RainDrop class." Vote for me guys if you see this to be of some use... thankx in advance!
| A Simple Genetic Algorithm |
To run, java Simulation...This is a simple genetic algorithm, designed to introduce people to the concept. The idea of a genetic algorithm is that you have "Chromosomes" and each represents a solution to your search space. You find the fitness Chromosomes out of your population and make offspring with them, thereby making (hopefully) fitter Chromosome. Once you find a Chromosome that is fit enough, you have a solution. What my program does, is take a simple problem and applies a genetic algorithm to that problem. The problem is: find a string of bits (1's and 0's) that contains the maximum number of 1's for a given length. It's a trivial problem but it helps to learn about genetic algorithms. Hope this is useful to you.
| Authors Assistant(Name Creator) |
You can use this program to generate random names to be used for whatever you wish, choose to save names that you like as either characters or locations, you can change font color, size, style, etc. You can also save the list to a file to be loaded up next time. In addition to being able to create the names, you can also store a description and category with them.
| A Matrix Code Example |
This is my attempt at a "The Matrix" look alike, i think its pretty good.
| Age Computer |
This is program computes your age. Respects Gregorian calendar rules.
| A Shorter Decimal to Binary Convertor. |
This code converts positive and negative decimal numbers into binary.The core source is hardly 4 lines long. VOTE if you like it.
| A simple traffic simulation |
show two cars simulating collission detection
| Appearing Label (With Source Code) |
Help innocent students of Java who has to submit assignments from Java with relations to java.awt
| A Practical Introduction to Enterprise Java Beans |
Have you ever dream to study EnterpriseJavaBeans without reading heavy books? Relax in your chair now and enjoy this piece of art and get faimilar with EJB
| Active / Rational Unified Process |
Active process, Agile programming, sounds like uncompromising Hebrew? Think again, open the document and it could open up a new door! A rational unified way!
| A beginners guide to javascript |
Attempts to teach beginners the basics of JavaScript.
| Artificial Neuron |
This is the basis of an artificial neuron, can be extended to build a neural net with some work. includes only one activation function and a gui for running the neuron. Very basic, can solve simple logic gate functions such as AND and NOT, must be combined to solve more complex logic gates.
| Ajax Sample Code By Rohit D'souza |
its a simple ajax example which i learnt on mozilla website
| A Page Replacement Algorithm Simulation |
Hello Programmers!!
| Binary Search Recursive Method |
It performs Binary Search in Recursive manner......
| Browser Property |
This script shows browser property
| Basic scripts to help you expand your js skills |
Here are several useful scripts to help you expand your js skills. Includes an example on how to create new methods (and assign them to objects), returning arrays from a function instead of a single value, and more. Happy coding.
| Disable Right-click |
This code intercepts the right click in Microsoft and Netscape browsers--allowing you to disable it!
| The HTML Generator |
This is a full-fledged HTML editor written completely in JavaScript. Very useful!
| Web Page Info Changer |
This script lets you change various HTML properties in a web page.
| User Information Retriever |
This script will retrieve as much information about the user's computer as possible.
| Change Image Sizes Based on Resolution |
This code shows you how to make images smaller for people who have smaller resolutions.
| Lotus R5 Online Quiz |
For those who are studying for their CLS or CLP, this small quiz may help (or not). Thanks to Mike McGrath for the initial idea.
| banner rotating script |
This script display banners in a sequence manner.
| random banner display |
This script display a random banner after a time of 10 seconds.
| Adding/Deleting Menu Items in JavaScript |
This code shows you how to add and delete items from an HTML select menu.
| Dynamic Calendar |
This is a calendar that is dynamically produced upon selection of a month & year from the user. When 1st called it shows the current month & year. When clicking on a date in the produced calendar, it sends the date to a field on another page. See attached files for example.
| JSRS Javascript Remote Scripting |
A complete library allowing invocation of server-side code from client pages without page refresh. Compatible with IE4+, NS4, NS6, Mozilla, Mac, Linux
| Simple Java Media Player |
I haven't seen anything that demonstrates the use of Java's Java Media Framework 2.1 so I decided to write my own class to demonstrate. This class can play .mpg, .mov, .avi and possibly other video formats and I believe it can also play several sound formats. You must have Java's JMF 2.1 API installed on your computer to run this program. This can be obtained from http://java.sun.com. I also have code that is commented out that when uncommented and a few other changes made can access multimedia files on the internet. When using it to access internet files, please be aware that the player will not show or start until the file is completely downloaded (by design). It's come to my attention that in order to play sound files one must make adding the visual component conditional because with a sound control there is no visual component. So be aware that the code must be modified to play sound files (i.e. .wav, .au).
| Jazz Box |
To produce a jukebox to play midi files.
| Complete JavaScript Command Reference |
A list of key JavaScript objects, properties, methods and their availability across MSIE and Netscape Navigator. The list contains over two thousand entries and is an update of a similar, but now dated list that can be found at http://www.wdj/articles/javascript_limitations.html. This list is ? Cliff Wootton 2001 and is republished from 'JavaScript Programmer's Reference' with permission from Wrox Press. The book can be found at:
| Constraint Satisfaction Problem |
Solve a constraint satisfaction problem (CSP). This program solves CSPs with unary and binary constraints. Illustrates heuristics to solve constraint satisfaction problems.
| Calculate Distance Between Two Points Using Longitude & Latitude in Sphere (Java) |
Tutorial and sample codes to calculate the distance between two locations using spherical algorithm. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription from http://www.zipcodeworld.com.
| Cracker Barrel Peg Game Cracker |
This program finds all the solutions to the Cracker Barrel peg game through recursion. (FULLY Commented)
| Converts number to word |
Convert numeric value/integer into word
| Clicking on the labels to select the options |
By clicking on the label you can select the option. Use with radio buttons and check boxes. Simply creates a link around the label and selects the option by clicking the link.
| Cricket_Score_Analyzer |
Analyzes the future scores based on present situation
| Compile .java files with a couple of clicks |
I know this is already been posted on this site. But the way they do it is not clear.
| Chatting Application |
A simple concurrent chat application:
| Calendar Maker |
Produces a Monthly Calendar.
| Chat server with multiple client support |
This is a sample chat Server with multi client support.Server can accept and make individual Socket for each client.
| Chobi Dekha 1.1 |
You can use Chobi Dekha to build your web site's image gallery. It shows a small preview of the original image before launching the actual image. It will open the the larger version of the image in a popup window on demand. It loads only one thumbnail at a time. Thus, it saves time and your image gallery will load faster. All you have to make some simple changes.
| Click Slider 1.1 |
Click Slider is a dynamic slider for web images. It works with mouse clicks. Click on the image to see it in action. It supports image formats those are supported by your web browser. A visitor's "Control Panel" is provided for the visitors, who will visit and enjoy your slide show. You can make it available to the visitors (by default, it is enabled), or you can simply turn it off. There are some simple variables provided for you to customize Click Slider.
| Counter Thread |
a little counter running with a thread so it stops when you click the button. Helpful for getting your head round threads. Any probs with code please inform, I just wrote it onmy lunch break
| chat apllication |
This chat application will show you about how input-output in java works.You can use this application to chat in your office,school,university etc.Server can control the client so it makes this application very nice and useful for you.
| Colour changer |
This is simple code with a GUI to change its background color using different RGB values.Try it and comment on it.
| Developing J2EE Applications |
This is the first tutorial in a line teaching J2EE (Java 2 enterprise Edition). This one gives you the basic's on structures and Components. I will continue to write more tutorials as time pemits.
| Displaying Menu Included Text Boxes, Check Boxes, etc, etc |
This displaying menu included Text Boxes, Check Boxes, Text Area, Radio Buttons, Select Objects and you can include anything you want to.
| Display Date |
This script simply displays today's date as Day, Month Date, Year. For example, today's date would be displayed as: Thursday, June 27th, 2002
| Dynamic Imaging |
Changes images according to user action!!!
| Dining Philosophers Problem |
This Program is a Simulation for The Solution Of Dining-Philosophers problem. This solution uses Semaphores to synchronize the philosophers trying to eat. This solution uses the condition of making the philosopher holds both chopsticks at the same time or none at all
| Dining Philosphers 2 |
This Program is a Simulation for The Solution Of Dining-Philosophers problem. This solution uses Semaphores to synchronize the philosophers trying to eat. This solution uses Asymmetric solution: Odd philosopher picks up first his left Chopstick then his right Chopstick, Even philosopher picks up first his right Chopstick then his left Chopstick.
| Dining philosphers 3 |
This Program is a Simulation for The Solution Of Dining-Philosophers problem. This solution uses Semaphores to synchronize the philosophers trying to eat. This solution limits The # of philosophers trying to eat to N-1 where N is the # of philosophers which is in the book equals to 5
| Demonstrating Objects and Arrays |
This demonstrates the use of Objects and Arrays using simple examples. Shows the differences between objects and arrays, adding properties and methods, explains associative arrays, constructor functions, all by example. Although I have put it in the beginners section, experienced js scripters may find some interesting facts about arrays lengths, deleting items and more. Hope you find it helpful.
| Demonstration done by Threads(With Source Code) |
To give some understanding about what Threads can do, to the new comers to Java.
| Digit of number reader with sound (Bahasa Indonesia Version) 1.1 |
to show how to read digits of numbers in bahasa indonesia
| Date Validator |
This is an application that validates a series of dates stored in a text file. These dates are in the form MM/DD/YYYY and each date occupies a line in the file. The program produces an error message if an item is
| Developing Wireless Applications |
The article is a GREAT, EASILY UNDERSTOOD introduction to wirelss apps for even the beginner java programmer. It explains the code in a step by step manner that will bring clarity to anyone that has a basic understanding of java.
| DBManager |
Cool database manager.if you like it please give a vote.
| E-mail Client |
E mail client...
| Even-Odd Program |
This program ask a user for a number and tells if the number is even or odd.....
| EZPZ listview |
Its a proof of concept regarding a listview control for javascript. The script introduces the use of 2 dimensional arrays in javascript and sorting data in HTML tables
| Eight Queens |
This programme solves the old yet interesting problem of placing eight queens on the chess board in a manner such that no queen is attaking another one. In this program I have used the random approach, which provides different solutions. Of course, you could amend the programme to generate all the possible solutions (more than 40 such solutions I think there are...!!)
| Follow Line |
The code puts a text line that follows your mouse.
| Floating Image/Ads/Flash Filez |
Make A Picture, Text, Shockwave File, Flash File
| FahadsKnowledgeGame |
It serves s platform for the Quizez, and Test especially in Semester System
| Factorial |
This program ask for a number and compute for its factorial.
| Fibonacci Program |
This script will compute the traditional Fibonacci and ask the users for the number of turns.
| Find a minimum value in the array recursive method |
It enables the user to enter an array elements and find and display the minimum inputted element.
| Fibbonacci Sequence |
This asks for the a number(range) then outputs the fibbonacci sequence.
| Flashcards |
Cognitive description
| Image Mirror |
By a simple method a puurfect Mirror-effect is achieved!Check this out guys...Any feedback appreciated!
| image editor with paint application |
THE CODE COMPRISES OF A COMBINATION OF PAINT ALONG WITH IMAGE EDITOR WHCIH COMBINES ALL FEATURES OF ANY SUCH SOFTWARE
| Inheritance Baffles |
You hear people talking about inheritance in Java and how different it is. Some myths even state you can?t use multi level inheritance, mean no offence but want to prove its off beam.
| Image Brower n Viewer |
Browse Images.....
| Inherited annotations in Java |
Despite the fact that the fully operational annotation mechanism appeared in Java not so long ago, many developers have appreciated this new possibility of Java API and use it in their programs. Annotations have lots of advantages but have some restrictions too. One of them is inability to inherit annotations to subclasses. To solve this problem, Fusionsoft Company developed the library of inherited annotations which is considered in this article.
| Joke of the day |
Joke a day on your web site.Easy to install and it buts a new joke on every day for a year.
| Joke |
Pure Fun! It pretends that deletes all files and folders by typing names in an output window but actully does no harm!
| Knight Rider (With Source Code) |
No special purpose
| Link fader script by design64.net |
This easy to install script makes all the links on a page fade from one colour to another (both of which you specify), with many customizable options (speed, delay, etc.). It works in almost any relatively new browser (Netscape 4 is not supported, but IE/Opera/Mozilla/Netscape6 are) but will not cause errors in unsupported browsers.
| Library Information System |
Library information system...
| Loopers & Doopers |
This is a set of sample looping structures which might be helpful to beginners.
| Linear Search Recursive Method |
It performs Linear Search in Recursive manner.
| Linear Fit From X/Y Coordinates |
Although the mathematics in the code is somewhat advanced (Method of Least Squares), the code is simple and utilizes a few simple loops. This asks the user for how many coordinate pairs they have, creates an array, stores the data entered into that array, and finds a linear function that best fits the data entered.
| LAN Monitoring |
It helps to control the clients which were connected to server.
| Moveable News Ticker |
Very much like the previous News Ticker, but this time, You can move the whole thing around the page by clicking on the little dots! Easy to integrate into you pages!
| Makefile for JavaRMI projects |
A make script (.bat) which eases JavaRMI programming substantially. Look inside it for configuration for your project. Give me a vote if you find it useful.
| MultiThreading BubbleSort and Quicksort with Exception |
Program ini mampu melakukan perbandingan proses pengurutan bilangan dengan 2 metode yaitu bubblsort dan quciksort dengan metode Thread serta adanya exception.
| MagicSquare |
It determines if a set of numbers that you enter into the program forms a so-called Magic Square, a square grid of numbers where every row, column, and diagonal adds up to the same number.
| Multiplication matrix in gui shape |
my code multiply two matrix in a gui form please i kindly ask you to vote for me in order to be a contest winner
| MyExplorer |
Simple file browser ( explorer-like) with the posibily to view images, text files and html pages
| Moving Window Status Text |
This javascript file allows you to make the display text of browser status bar moving. Please test it using IE
| Multiple array searcher |
Allows you to search values inside a 2D array.
| News Ticker |
This cool JavaScript ticker can easily be modified to fit in with the colour scheme of your site. VERY easy to use!
| NOTEPADAbbas |
Simple Note PAd
| NewLayout 2 - A demonstration of BorderLayout w/ ImageIcons |
It is a demonstration of the BorderLayout, Panels, and the image components of the swing components. It includes sample pictures that the program uses in its zip file.
| networkprogramingg |
someuseful network programs
| Network Banking Software |
Network Banking Software is purely done in core java.This is a simulation of the present ATM Banking.This includes features such as multithreaded server,multiple client,java databases,swing applications,security checks,etc ..these are some things to mention.For details go through the readme.txt in the zip..
| Number Sort |
Number sorting algorithm by Trent Jackson. My first Java submission to the World - can sort an array of 10,000 numbers in less than 900mS. Eat your heart out Visual Basic! VB took a shocking 15 secs to do essentially the same job.
| Operators and Assignments |
Everything you ever wanted to know about operators and assignments! I will teach you everything, from using the XOR operator to the ternary operators and everything in between. At the end of this tutorial there's a test complete with full solutions so you can test your knowledge of this subject. Keywords: Unary operators, bitwise, shifting, comparison, instanceof, boolean, short circuit, ternary, assignment, NaN.
| Open form from HTML |
opens a web dialog according to an html document
| Object Sorter |
just some simple code to help those who might wish to sort an array of objects based on some comparable value, sorts person objects into an array based on age. Also includes person class.
| On-The-Fly Execution |
This code displays how to execute Java methods on-the-fly. With this code, users can enter into the console a class name, a method name, and a few argument values, and have that method executed. Included is a short tutorial explaining the code (in .pdf format).
| Packed Data |
This program is an example of how to pack data. It packs 3 integers used to represent a date into 1 integer, hence saving you 8 bytes of memory for every date saved, at the sake of a little bit of computation time. If you are saving alot of dates into memory the cost:benefit ration would be realy good. You can pack just about any type of data i.e. 32 boolean values...
| Program to implement LRU - Page Replacement Algorithm!! |
My code will implement one of the Page Replacement Algorithms (i.e.) Least Recently Used (LRU) algorithm.
| Progress Bar Demonstration |
Try to create a progress bar using Java and help all the innocent programmers who have to deliver an assignment with an progress bar in it.
| Protege 2007 word's wifi web emailer.shs |
its a neet way to email all large file with the same document settings and colors.
| quote of the day |
This script is ready to run and can be easly uploaded to your web site.It will provide you with content all year round with a diffrent quote a day and will add to keep your visitors coming back.All the work on the script is already done and placed in a .htm file you can see it working @ http://www.millionsclub.co.uk/quoteoftheday.htm
| Rule Based System |
This is an implementation of a rule based system. Knowledge is inferred through forward chaining and backward chaining. This is a really neat implementation in Java and is good to take a look at for anyone taking an AI class.
| random image every time a user visits the page |
this code shows a different image every time a user views the page.
| Resolution sensor and fowarder |
Eliminates The Problem of making a web site to large or to small and the user doesnt have to choose there resolution if they dont know what it is.
| Ripple(water) effect |
This code is to understand the use of Bilinear interpolation...though this is no where near perfect but this is certain to help you understand how ripple effect is achieved...
| Rotating Cursors Script |
This script gives an effect like the cursor is rotating clockwise or counter-clockwise. In fact, the cursors are changing the types. Very simple yet cool effect! PLEASE RATE MY CODE IF YOU LIKE IT!!!
| Regular Progress Bar |
Just to check whether I can make a progress bar which looks like the same old.
| Random Game Sequel Generator |
Generates a random game title!
| Random Ad Generator |
This is a simple Jsp Ad /banner random generator, program displays different advertisemets or banners each time the web browser is refreshed.
| Reflection demo |
This is a demo for java reflection ( listing the fields, constructors and methods, method invoking ) in the form of a mini Java Form Designer. It is far from complete, but it is a good place to start.
| Randomizer |
This is a rather simple program I needed. I coded the first version in about an hour, then extended it so I could post it here.
| rods javascript to pdf |
to allow you to make a pdf and prinscreen
| Railway Ticker |
This is a railway ticker,when any updation about train timings are found... it informs all the client ticker's about the update and they roll the updates.one can also roll default timings...
| Simple HTTP Server |
Simple(very) Http Server. serves up static requested resource or error page.
| Simple console chat |
Simple console chat for beginners.
| Sequencer |
Found a site with sequencial file names? Want to see each one? Don't want to use their pages - just want to see the files. Automatically loads next in the sequence (skips missing files - no errors)
| Simple Javascript Calendar |
Displays a simple Javascript based calendar
| Simple Javascript RSS Reader |
Display RSS Feed on your website, using Javascript
| Tablegraph 1.1 |
This is a minor update to Niklas Uhlin fantastic work to add support for bar charts and make the code a bit more modular. This is a generic charting/graphing script that is quite flexible and useful for many types of apps.
| The CORBA Evictor Pattern in Java |
When a CORBA server allows its clients to create and destroy objects one of the recommended ways to handle the object lifetime issues is using the Evictor Pattern.
| The Ibrik Compiler & Ibrik User Interface Environment (UIE) |
Ibrik is a compiler that translates a simple user interface language
| Text-to-Speech plus Convert Numbers(70 digits!)to Words in English, Portuguese, Spanish & French! updated |
This is a set of functions to convert numbers to words, in four languages: English, Portuguese, Spanish and French. There is also a function for text-to-speech (in English). The number can be huge: up to 70 digits! NumbersWords- Converts numbers to English words. NumerosPalavras- Converts numbers to Portuguese words. NumerosPalabras- Converts numbers to Spanish words. NumerosMots- Converts numbers to French words. Sayit ? Text-to-speech. **************************************************************************
| Tower Of Hanoi |
It solves tower of Hanoi puzzle using divide-conquer and non-recursive methods.
| Text Scroller LED Style with Effects |
Textscroller in LED Display style with some effects
| The numbers Power Program |
This program will ask the user for a number and ask a number for the last power of inputted number to be conputed....
| The Triangle Program |
This program will display left and right justified right triangle, inversed left and right justified right triangle, equilateral and inversed equilateral triangle based on the users prefered number of layers....
| Time Calculator |
This program will take an initial time and an ending time and it figures out the time between them, in hours minutes and seconds. You can do AM or PM times, and this java program is virtually unbreakable.
| Thumbnail Viewer |
Show/Hide thumbnail of the images listed in combobox
| Trap JavaScript Errors |
I needed a way to trap an error in javascript code. I was resizing my web form and moving it to the top, but it would throw an error if ever brought up inside an iframe. This snippet will stop the error from being displayed to the user and continue operation.
| Taylor Series For f(x)=sin(x) |
This program determines Taylor Series for f(x)=sin(x)
| Towers Of Hanoi |
Well, like most of my beginners applications. This is to let beginners like me to get the idea or method for finding the solution to move numDisks from TowerA to TowerB with TowerC. There are many algorithms for this prgram. I've done in a recursive method. Hope that other gurus can correct me and teach me a better algorithm.
| Timetable Allocate |
a command line based java program. This would have to be suited to your specific needs, but this is a timetable organizer which I use for uni.
| Threads Exposed |
Threads are perhaps the most deprived of java?s Features. Most of us know how it works but never try to code them. Even most SCJP books term it as the toughest chapter.
| Table cells, bgColor changer and font color changer |
This script can change the table cells color on event handling also changing bgcolor by input value, and font color changing by input form feild etc.
| Two pass assembler for 8085 assembly language |
its a simulation for 2 pass assembler for 8085 assembly language.Covers almost all instructions (>70).
| The Sign Teller |
This webpage tells you what sign and element you are.
| Threaded sort demo |
A concurent sort demo ( BubbleSort, HeapSort, NaiveSort and QuickSort ) using threads. Graphical representation and timing for each algorithm.
| Table painter (HTML) |
Simple HTML Table Painter. works on mouse over and randomly changes the color (colour)
| TextEditor |
It may help the beginners as well as it may leads to an effective notpad development for the future.
| TextEditor V 2.0 |
It the new version of my TextEditor which was posted already.This version has some added functionalities compare to the old version.
| Using Browser BUG to Kill Any Ads. |
Use IE3+/NS4+ phrasing bug to stop the script running. It could be very useful when your web-host attach their ads code under your webpage. Just add below code in the end of your webpage then all done! No ads. code can be execute!(Work on both Internet Explorer and Netscape browser)
| Using Mouse To Trigger FIreWork |
This javascript file contains code that make the mouse click to trigger a fun firework effect on the page. It is fUn ! Please Try it on IE. Thxs
| Using marquee To Make The Text and Pic Moving Demonstration |
This is a demonstration on how to use the marquee to make the text and pic moving inside your page. It is Fun! Please Test it on IE. Thxs
| Visual J plus plus Sample |
This small sample code was written for those who are trying to learn Visual J++ 6.0. This is a rudementary example on how to retreive values returned from message boxes as well as how to retreive the text entered in a text box (edit box).
| Velociraptor, Java port scanning API |
Velociraptor is a simple java API for port scanning and analysis. It provides interfaces to write custom port scanner clients. It scans all ports in a given range to see if they are open and also analyze them to identify the protocol they are running.
| Window status changer |
Calls a function to change the window status text to the name of the link on mouse over, and to something else on mouse out.
| Website prepared for blind and visual deficiency users |
Tricks to formatting of the text, simplified to facilitate the access through voice synthesizers and Braille monitors. Also included some special controls keys to Invert the video, fullscreen, change background color, font color and font size on the fly while reading the screen. See demo at: http://www.industriavirtual.com.br/codedemo/textmode/help.htm The goal is to help you to create a version of your website for blind people or users with optical injuries. Please vote! Sorry my bad english.
| Weighted Graphs |
This program starts by asking a user of a matrix file and names file. User is asked which location they'd like to start at, and where to end. It calculates all possible paths using numbers from the matrix file then prints off the shortest and longest path. This is my first post, so any input on what I'm missing in these descriptions would be appreciated.
| YQwe Chat |
this is simple chat application.
| YQwe RMI Bank |
example shows implementation of Remote Method Invocation.
| YQwe Java Start |
YQwe Java Start
| Move Text with Mouse |
Move Text Message with mouse move
