User Comments for the tutorial:

Display image in the applet

Total comments: 10      View Tutorial    Discuss: Display image in the applet



java applet
please send me tutorials related how to create java applets displaying different scrolling images and each image ishaving different hyperlinks  

Images in applet
Hi, I need to know the method to import images in applet. Can u give me suggestions reguarding how to create a slideshow in java and displaying the data retrieved from any database along with images. 

java applet displaying image
i tried the above program for displaying image but is not displaying any image on my browser. 

quary about it
import java.applet.*; import java.awt.*; public class appletImage extends Applet{ Image img; MediaTracker tr; public void paint(Graphics g) { tr = new MediaTracker(this); img = getImage(getCodeBase(), "freelinuxc 

Hi, I tried this program using Netbeans IDE 6.1 but the applet cannot display as sample in online. Error display "Applet not initialized". Please help me. Thank You 

Display image in applet...
Am able to display the image, but when the image is larger, scroll bar is not appearing. How do i enable the scroll bar in applet when larger image is loaded. 

Applet image
Hoe to display 5 images in applet window ? 

Solutin for aazad
If u got earror :- "Applet not initialised then try to include init() in your programe and initialise image into init() ie. init() { img=getImage(getCodebase,"my_img.jpg"); } u have to put your image into the folder where u place your .class  

very gud site
it's really an interesting site.  

I really liked the way of presentation inthis site is.. A common student can understand concepts so I am thanking you for giving me nice informations.. 

Related Tutorial and Articles
Applet Questions

applet - Applet
: Thanks... in Java Applet.",40,20); } } 2) Call this applet with html code...applet   i want a simple code of applet.give me a simple example 

Applet Questions

Applet - Applet
in details to visit...., Applet Applet is java program that can be embedded into HTML pages. Java applets 

Applet Questions

applet - Applet
information,visit the following link: Thanks...*; import java.awt.*; public class CreateTextBox extends Applet implements 

Swing AWT

Applet  I have a java applet that has a button. On clicking the button it should disappear and another applet should appear. How to write this code???? Also in login applet after successful login it should display admin applet 

Java Beginners

Applet  Draw the class hierarchy of an Applet class. Also explain how to set background and forground colors in java 

Java Beginners

applet  what is applet in java   An applet is a small program that can be sent along with a Web page to a user. Java applets can perform... the following link: Applet Tutorials 

Applet Questions

java - Applet
java  what is applet?  Hi Friend, Please visit the following link: Thanks 

Java Beginners

Applet  Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red 

Applet Questions

java applet - Applet
:// applet  I want to close applet window which is open by another button of applet program. plz tell me!   Hi Friend, Try 

Applet Questions

Applet query - Applet
link: Thanks...Applet query  i want to knw d complete detail of why does applet... with their container.It runs under the control of a Java-capable browser.The java-capable browser