I have a method using sun.awt.shell.ShellFolder.get("fileChooserComboBoxFolders");
which I want to replace (or suppress the warning if possible). Can I replace it with anything not Sun properietary so it doesn't throw warnings on some possible removals?
--
UPDATE: not sure if the code is needed at all. It's in a legacy code and I was asked to remove all compile warnings. The one particular with the ShellFolder goes the following:
new Thread {
public void run() {
ShellFolder.get("fileChooserComboBoxFolders");
}
}.start();
--
UPDATE #2 on why it was needed: JFileChooser is still a bit buggy.