with simple JFrame GUI