< prev index next >
modules/javafx.web/src/main/java/com/sun/webkit/WCPluginWidget.java
Print this page
*** 23,49 ****
* questions.
*/
package com.sun.webkit;
import static com.sun.webkit.network.URLs.newURL;
import java.net.MalformedURLException;
import java.net.URL;
- import java.util.logging.Level;
- import java.util.logging.Logger;
import com.sun.webkit.plugin.Plugin;
import com.sun.webkit.plugin.PluginListener;
import com.sun.webkit.plugin.PluginManager;
import com.sun.webkit.graphics.WCGraphicsContext;
import com.sun.webkit.graphics.WCRectangle;
final class WCPluginWidget extends WCWidget implements PluginListener {
! private final static Logger log =
! Logger.getLogger(WCPluginWidget.class.getName());
private final Plugin plugin;
private long pData = 0L;//for native code
private static native void initIDs();
--- 23,48 ----
* questions.
*/
package com.sun.webkit;
+ import com.sun.javafx.logging.PlatformLogger;
import static com.sun.webkit.network.URLs.newURL;
import java.net.MalformedURLException;
import java.net.URL;
import com.sun.webkit.plugin.Plugin;
import com.sun.webkit.plugin.PluginListener;
import com.sun.webkit.plugin.PluginManager;
import com.sun.webkit.graphics.WCGraphicsContext;
import com.sun.webkit.graphics.WCRectangle;
final class WCPluginWidget extends WCWidget implements PluginListener {
! private final static PlatformLogger log =
! PlatformLogger.getLogger(WCPluginWidget.class.getName());
private final Plugin plugin;
private long pData = 0L;//for native code
private static native void initIDs();
*** 82,92 ****
{
URL url = null;
try {
url = newURL(urlString);
} catch (MalformedURLException ex) {
! log.log(Level.FINE, null, ex);
}
return new WCPluginWidget(
webPage,
PluginManager.createPlugin(url, mimeType, pNames, pValues),
width, height);
--- 81,91 ----
{
URL url = null;
try {
url = newURL(urlString);
} catch (MalformedURLException ex) {
! log.fine(null, ex);
}
return new WCPluginWidget(
webPage,
PluginManager.createPlugin(url, mimeType, pNames, pValues),
width, height);
< prev index next >