We wrap up our discussion on creating a utility class that can seamlessly play looped samples with a lesson on overcoming system latency through the right Java code.
More articles by Greg Travis
This article will show you how to create a utility class that can seamlessly play a looped sample over and over in continuous loops, and which can replace the loop in realtime with another loop, without skipping a beat.
We'll describe the implementation and usage of a simple persistence library. Falling somewhere between a real database engine and custom disk I/O routines, it should help with many applications that need to store data between invocations.
This article will tell you how to create your own browser console, some of the pitfalls you may encounter, and a few other interesting tidbits.
This article describes a common pitfall in event-driven programming that can harm the responsiveness of the user interface, and describes a technique for fixing the problem.
Here's how to get rid of the annoying flickering that occurs whenever a graphics applet is redrawn.
Sometimes, good Web design calls for multiple applet windows that work together. Here's an API to help you use this technique.
Here's how to create an elegant abstraction layer that allows you to draw to several different locations in a single browser window.
By creating an applet that contains other applets running inside of it, we explore in detail the context in which an applet runs, how applets work, and how they interact with their environments.
Learn two different ways to efficiently handle large numbers of SocketInputStreams PollingMultiplexor and ThreadMultiplexor.
Java's threading implementation is one of the most elegant out there. The quality of its design has introduced countless programmers -- some of them learning programming for the very first time -- to multi-threaded programming.
This article presents a tidy way to quickly implement a simple TCP/IP server. The core of the code exists in a single class, Server.java, so it's easy to set up and use.