简体   繁体   中英

Override classpath for icedTea java applet plugin for firefox

I wish to override behavior of FileDialog call of awt library so as to not invoke any native calls to open up file chooser. I am planning to achieve it by overriding FileDialog with a stub library and forcing it to load before standard ones whenever an applet is loaded using icedTea firefox java plugin.

For an intermittent fix, I have come up with a hack to replace standard JRE with custom one, wherein FileDialog's show method is overridden to a no-op. Then, the location of custom JRE is specified in ~/.icedtea/deployment.properties file using custom.jre property.(Please confirm property name for your version of icedtea plugin by referring source code.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM