ここでは、JFileChooserを使って保存するファイルを取得しています。JFileChooserというのは、ファイルを選択するダイアログを呼び出すためのものです。 ファイルダイアログからファイルを選択(あるいはファイル名を入力)してOKすると、ダイアログが閉じ ...
You’d be hard-pressed to find an application these days that does not require a user to choose a file at some stage. To cater to that need, the Swing collection provides a JFileChooser component that ...