Jump to content


Photo

Java Applet Simple Display Image


  • Please log in to reply
No replies to this topic

#1 makavelimx

makavelimx

    Young Padawan

  • Members
  • Pip
  • 69 posts
  • Interests:Events Manager of MD5Encryption.com

Posted 27 May 2006 - 01:35 PM

public class test {
public static void main(String[] args) {
drawImage("google.gif",0,0,200,200);
}
}

This is web but I feel like Java applets are more related to desktop than traditional procedural web programming languages

I want to write an applet that displays an image "google.gif" in this case with height of 200 and width of 200 starting from the origin at 0,0

(This is a learning experience for me, thats why I want it on an applet instead of just <img src)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users