[libbluray-devel] J2ME build fixes

hpi1 git at videolan.org
Sat Feb 2 20:34:19 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Jan 28 00:01:50 2013 +0200| [73d669870f05edaa1b3c1f37b20c802a01e2a529] | committer: hpi1

J2ME build fixes

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=73d669870f05edaa1b3c1f37b20c802a01e2a529
---

 src/libbluray/bdj/java-j2me/java/awt/BDGraphics.java |    1 +
 src/libbluray/bdj/java-j2me/java/awt/BDImage.java    |    2 +-
 src/libbluray/bdj/java-j2me/java/awt/BDToolkit.java  |    4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java-j2me/java/awt/BDGraphics.java b/src/libbluray/bdj/java-j2me/java/awt/BDGraphics.java
index 421253d..915f82d 100644
--- a/src/libbluray/bdj/java-j2me/java/awt/BDGraphics.java
+++ b/src/libbluray/bdj/java-j2me/java/awt/BDGraphics.java
@@ -691,4 +691,5 @@ class BDGraphics extends Graphics2D implements ConstrainableGraphics {
         }
     }
 
+    private static final Logger logger = Logger.getLogger(BDGraphics.class.getName());
 }
diff --git a/src/libbluray/bdj/java-j2me/java/awt/BDImage.java b/src/libbluray/bdj/java-j2me/java/awt/BDImage.java
index 7578244..00a121f 100644
--- a/src/libbluray/bdj/java-j2me/java/awt/BDImage.java
+++ b/src/libbluray/bdj/java-j2me/java/awt/BDImage.java
@@ -21,7 +21,7 @@ package java.awt;
 
 import sun.awt.image.BufferedImagePeer;
 
-public class BDImage extends Image implements BufferedImagePeer {
+public class BDImage extends BDImageBase implements BufferedImagePeer {
     BDImage(Component component, int width, int height, GraphicsConfiguration gc) {
         super(component, width, height, gc);
     }
diff --git a/src/libbluray/bdj/java-j2me/java/awt/BDToolkit.java b/src/libbluray/bdj/java-j2me/java/awt/BDToolkit.java
index a8d63ec..d6c67a1 100644
--- a/src/libbluray/bdj/java-j2me/java/awt/BDToolkit.java
+++ b/src/libbluray/bdj/java-j2me/java/awt/BDToolkit.java
@@ -39,6 +39,10 @@ class BDToolkit extends Toolkit {
     private static Hashtable cachedImages = new Hashtable();
     public BDToolkit () {}
 
+    public static void setFocusedWindow(Window window) {
+        /* nothing to do */
+    }
+
     public Dimension getScreenSize() {
         Rectangle dims = defaultGC.getBounds();
         return new Dimension(dims.width, dims.height);



More information about the libbluray-devel mailing list