How to display the graphic drawing on the Web? 
Author Message
 How to display the graphic drawing on the Web?

Hi,
I made a Java program that I want to insert a .gif into my frame
window. It can be shown through appletviewer in the local machine, but
it can't be displayed on the Web.

insert into a frame window:
class frame1 extends Frame
{
Image picture = getToolkit().getImage("pic.gif");//pic.gif is on
current dir

  public void paint (Graphics page)
  {
    page.drawImage (picture, 50, 100,200,50, this);

  }//method paint()

Quote:
}

Another applet class that can invoke the frame1 is embeded in a
index.html. When run the index.html, the graphic is not displayed. Can
anybody tell me how to get the graphic on the Web?
Thanks.

zhao



Sat, 31 Dec 2005 23:53:03 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. displaying a graphic from a relationship on the web

2. How to display graphics from SQL to web page

3. FoxPro Graphics / Drawing

4. drawing graphics with foxpro

5. FoxPro Graphics / Drawing

6. need to display a cad drawing

7. need to display a cad drawing

8. Portal Display on the web with Instant Web Publishing

9. Different graphics displays..

10. Graphic tool incomplete display

11. Oracle Graphics scatter chart, how to display values

12. Storing and displaying graphics files from Oracle Database


 
Powered by phpBB® Forum Software