Selecting Folder Destination in Java?

前端 未结 5 1467
臣服心动
臣服心动 2020-12-05 00:04

I am a newbie to Java. I am trying to dynamically choose the file location to save the outcome of my project (to be initiated at the very start of my project). I worked arou

5条回答
  •  萌比男神i
    2020-12-05 00:27

    Along with JFileChooser is possible use this:

    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    

    for have a Look and Feel like Windows.

    for others settings, view here: https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#available

提交回复
热议问题