The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

The method :)

Posted by Yannick DAMBIELLE on October 03, 2001 at 7:17 AM

Hi man,
I'm not very very good in Java but I also needed to find what you were searching. Maybe you got the solution now, anyway I did that and it works. Just changed what you need :
......
Image monImage;
IDataStream imageStream;
openFileDialog1.showDialog();
affiche = openFileDialog1.getFileName();
File fichierImage = File.open(affiche);
monImage = Image.loadImage(fichierImage);
pictureBoxAfficheFilm.setImage(monImage);
......
I hope that will help you.
See you man
Yannick D



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us