Customer's Last, or Top, 5 items purchased in Status bar

Is it possible?
I've been able to modify an existing Status to show all other relative information about the customer, now I just have the 3rd column to populate with their purchase history.
(Status is in Java) ((I am very novice to this, am just learning as I go))
Add pictures here
<% } %>
Add image file
