using swing utilities