32,199 Topics

Member Avatar for
Member Avatar for srvstv.prnc

This is another sorting algorithm called heap sort that I wrote using Java programming language. The heap sort code is quiete complex but i tried my best to write it

1
191
Member Avatar for Intrade

I'm sure this has already been done, but to practice understanding Data Structures better I decided to try making one of my own, given only an idea of what type of functionality I want, a pencil and some paper (as well as .txt file, modified into a .java file =p …

Member Avatar for Intrade
0
126
Member Avatar for puneetkay

This program consists of a function in one class. It demonstrates the "Left To Right" Principle used by most of the languages.

0
107
Member Avatar for rahul8590

Well , i have created a simple chatting interface . i would not call it a chatting interface actually cuz i had something else in my mind and finally landed on something else . i would like if you guys could excecute it and help me making it a real …

Member Avatar for toyi
0
277
Member Avatar for verruckt24
0
348
Member Avatar for sciwizeh
Member Avatar for sciwizeh
0
538
Member Avatar for Alex Edwards

I'm not sure if it has been done yet or not, but I thought this program might be helpful to those that want to practice SQL in Java, because it sure is helpful for me! =) The assumption is that you're running Java 5+ and that you have a Database …

Member Avatar for newtonorina
0
245
Member Avatar for llemes4011

A program that finds the day of the week you were born on. Once again, this was adapted from a homework assignment, but I rewrote the entire thing from scratch >.< but it was a lot of fun.

Member Avatar for toyi
0
2K
Member Avatar for llemes4011

A program that asks for a number, and uses that number to find the date that many days from today (or whatever day you're using it on). The code was adopted from a homework assignment, so that's why the variable names might not make a lot of sense, I was …

0
94
Member Avatar for sciwizeh

Finds all (integer) the triples from zero to max. won't return duplicates (ie. (3,4,5) and (4,3,5)) prints them demonstrates: nested loops, multiple classes, proper equals(Object) override (no hashcode though), writing to file

0
249
Member Avatar for yash301288

Its a simple program giving the demo of intre thread communication based on MovingBalls.java program... Hopng that its Useful For U?

0
141
Member Avatar for alpe gulay
0
292
Member Avatar for alpe gulay

..'this is a simple program in w/c enables to create a txt file. it ask input from user first then put that in the txt file. :-)

-2
256
Member Avatar for alpe gulay

..this is a simple java code w/c allows to produce a beep sound. timer also is being applied here. hope it will help for any reason it may serve. :-)

Member Avatar for toyi
0
1,000
Member Avatar for alpe gulay

.,'this program will simply creates a diamond using asterisk.,' just try out this code i am sure you will be interested.!.. email me about your comment in this simple program!..help me if you know the easiest way to construct this kind of program..'

0
183
Member Avatar for tranni

This class Generate A unique string. You can concatenate Timestamp to this Unique String and use it as Unique ID

0
166
Member Avatar for shaikh_mshariq

Here is the code to write a serverSocket which listens on a given port. I have used a dummy Socket to change serverSocket's port dynamically. This method uses a inner class which is basically a thread and it creates a serversocket in thread by given port no. If you want …

Member Avatar for shaikh_mshariq
0
161
Member Avatar for sri_jes13

Hi this is a very simple program explaining of Threads using the runnable interface. I hope this will help in some other way.:)

Member Avatar for finepax007
0
134
Member Avatar for JavaGalaxy.com
Member Avatar for cms271828

This program generates the 6 faces of a colour cube. The faces are displayed in a JPanel, and they are also saved to C:/Faces as PNG files. So non-windows users might have to alter code slightly.

Member Avatar for cms271828
0
171
Member Avatar for rohit83.ken
0
111
Member Avatar for lookof2day

Well any Java programmer knows that a Java Interface only allows declaration of methods. You cannot define the methods inside interfaces. Yet if somebody like me wants you to define a method in interface and wants the program gets compiled and runs successfully, what would you do? Well the answer …

Member Avatar for Ezzaral
0
715
Member Avatar for Arman Majumder

A JOptionPane version of the game of Penny Pitch. Uses numerical values spread on a board, and computer picks randomly chosen spot to place a penny and at the end of a run adds up the total score. *Two separate programs, PennyPitchGame and Square (Square Class)*

Member Avatar for NovaWarlock
0
2K
Member Avatar for Arman Majumder

A program that compounds interest [FONT=&quot]continuously [/FONT]to a specified premium, rate, and number of years. Displays the total work up in the GUI panel in a tree form.

0
170
Member Avatar for Arman Majumder

A simple program that displays the Muller-Lyer Illusion. Also tests the ability to draw simple figures using the Paint Component function.

0
1K
Member Avatar for Arman Majumder

A GUI form of the Game of Craps. Takes in total bank roll and bet for each round of the game. *Two seperate programs, Craps and CrapsData(Craps Class)*

0
1K
Member Avatar for Arman Majumder

A very simple program, which displays the coordinate points for the center point of the panel. Automatically updates the (X,Y) form coordinates with size modification.

0
727
Member Avatar for Arman Majumder

A red circle moves back and forth horizontally, when clicked (with a mouse) the circle halts motion and the background colour changes randomly, if clicked again the circle resumes it's motion and changes the background colour randomly. This loop continues until the user exits the program. *Two separate programs[FONT=&quot][/FONT], CirclePanel …

Member Avatar for cUtEAkew
0
1K
Member Avatar for Arman Majumder

A fixed Checkerboard board, which tests multiple panels each with alternating colors (Red and Black). Input the dimensions to output the board.

0
1K
Member Avatar for Arman Majumder

A simple GUI that tests the GridLayout function, multiple panels, and different coloured panels.

0
299

The End.