quick and dirty implementation ready using Swing