Results 1 to 8 of 8
Thread: change image
- 08-24-2010, 02:32 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 4
- Rep Power
- 0
- 08-25-2010, 04:20 AM #2
g.drawImage() method may help I guess
- 08-25-2010, 11:50 AM #3
Member
- Join Date
- Aug 2010
- Posts
- 4
- Rep Power
- 0
So can i put like this....
g.drawImage("images/duck.gif");
put the url for the picture.
it is correct?
-
Don't guess. Read the tutorials on graphics in the Sun/Oracle tutorial section.
- 08-26-2010, 02:26 PM #5
Member
- Join Date
- Aug 2010
- Posts
- 4
- Rep Power
- 0
ok. tq. :)
- 08-28-2010, 11:37 PM #6
I don't think so ;)
To use the method you need to get Image object first... It is IO lib thing and here as I may think your applet must be signed to do so...
This may help I guess Graphics2D (Java 2 Platform SE v1.4.2), java.awt.geom.AffineTransform, java.awt.image.ImageObserver)
-
- 09-01-2010, 03:51 PM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Change colors, image on WizardDialog
By laurie in forum SWT / JFaceReplies: 0Last Post: 06-16-2010, 04:30 PM -
uploaded image wont display if i change filename
By schenker in forum Java ServletReplies: 12Last Post: 06-11-2010, 11:13 AM -
Javascript change image
By butsags in forum New To JavaReplies: 1Last Post: 12-10-2009, 11:08 PM -
how to change windows xp background image through java
By erosenthil in forum Advanced JavaReplies: 1Last Post: 08-18-2009, 12:57 PM -
Converting multiple banded image into single banded image... Image enhancement
By archanajathan in forum Advanced JavaReplies: 0Last Post: 01-08-2008, 05:29 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks