CompositeKey and some jframe improvements