Swing Java Tutorial

Each instance of every component can manage its own set of key/value pairs.

public final void putClientProperty(Object key, Object value)
public final Object getClientProperty(Object key)