I have a workaround that might appeal to WebUtil users who do not care for the look-and-feel that is used by the CLIENT_GET_FILE_NAME built-in.
Sorry to tease everyone, but I do not have time to do a lengthy write-up. On one of your forms -- ideally, the first form that your application runs -- place a bean area implemented using the following class:
package oracle.forms.ea;
import java.awt.Component;
import javax.swing.UIManager;
public class LAFSetter extends Component {
public LAFSetter() {
try {
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
e.printStackTrace();
}
}
}
Once the form containing this bean area runs, future Swing dialogs should be rendered using the system look-and-feel. I have performed only enough testing to see that this basically works -- thorough testing is left up to you!
Eric Adamson
Lansing, Michigan