code_junkie

J2ME in Netbeans (gif image problem)

Nov 13th, 2011
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. InputStream is = getClass().getResourceAsStream("/OceanFish.gif");
  2. DataInputStream di = new DataInputStream(is);
  3. StaticAnimation simage = StaticAnimation.createAnimation(di);
Add Comment
Please, Sign In to add comment