basic storage and swing application