July 24, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

More articles by Greg Travis

mito@panix.com

Writing a Seamless Looper in Java, Part 2: Seamless Looping

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.

Writing a Seamless Looper in Java, Part 1: Playing Audio

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.

The Persistent Hashtable: A Quick-and-Dirty Database

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.

Creating a Custom Java Console

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.

Asynchronous Event Handling: Get Rid of Nasty Applet Pauses

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.

Double-Buffer Applet

Here's how to get rid of the annoying flickering that occurs whenever a graphics applet is redrawn.

Inter-applet Communication: Getting Them to Talk to Each Other

Sometimes, good Web design calls for multiple applet windows that work together. Here's an API to help you use this technique.

Applet Terminals: Applets with Multiple Locations on a Page

Here's how to create an elegant abstraction layer that allows you to draw to several different locations in a single browser window.

MultiApplet: Running Multiple Applets Inside an Applet 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.

Simulating select() in Java

Learn two different ways to efficiently handle large numbers of SocketInputStreams PollingMultiplexor and ThreadMultiplexor.

Working with the blocking queue

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.

The one-class server

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.

Sitemap | Contact Us

Rocket Fuel