Trying out swing not sure how to use text