Here you can find links to some Java programs I wrote.
- ARtool is an application
for mining association rules.
- Sorters 1.03 - a small application for testing and evaluating
sorting algorithms. You can either download the archive: Sorters103.zip or you can browse
through the files on-line:
Sorters application files:
Sorting algorithms files:
- Fractal Drawer is a fractal
drawing program that can be run either as an applet or as an
application. Since the applet uses JDK1.3 features you may need to use
the Java Plug-in to be able to display it in your browser.
- The next applet has been written for a CS610 - Software
Engineering homework, starting from an example from Tim Budd's
Introduction to Object Oriented Programming. It is playable but
be warned that it is hard to win. The way you interact with the applet
is through mouse clicks. If you try to click on a pile that cannot be
played, nothing will happen. Sometimes Java looses a click so be aware
of this and click a second time if you're sure you can play the
pile. There are two versions available so that you can play the game
even if you have an older browser.
Solitaire - Java 1.0 event
model - Files: Solitaire10.java.
Solitaire - Java 1.1 event
model - Files: Solitaire.java
- This is my Java implementation of a Timer class:
- It is useful to be able to load classes from a jar file at runtime
but Java doesn't allow you to do that very easily. So here is a piece
of code that comes in handy:
- The following is a very simple example of how to write a
client-server application using sockets. It also demonstrates how you
can serialize objects through a socket connection. You can find
instructions for how to run the example in the source code below:
- The next code is related to the BS_Tree template class done in C++
(see code on C++ page). Since in Java
there are no templates (yet), it is a problem to reuse code when we
need homogeneous containers. The code that follows shows how we can
create a heterogeneous container and then, based on it, create
homogeneous containers in a boring but simple way by creating wrappers
of classes used by the heterogeneous container.
Heterogeneous container files: BS_Tree.txt,
Homogeneous (int) container files: BS_Tree_int.txt,
Homogeneous (String) container files: BS_Tree_String.txt,
Back to Laurentiu's home page