• Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent!! io classes and gif files

 
zaeem masood ashar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

1) Can i use IO classes to read/open .gif files?

if(true){
System.out.print(how);
}
2) Can i call and dispaly an applet from within an application using io classes?
thanks
 
ramesh gutty
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Sure you can use I/O to read gif files. In fact that's what AWT classes do. You can use a URL.openStream() method for doing this
2. This is certainly possible, but why would you want to do that.
You just need to ensure that simulate call to methods that the applet container invokes (init(), destroy() etc..), at the right time and location

Originally posted by zaeem masood ashar:
Hi
1) Can i use IO classes to read/open .gif files?
if(true){
System.out.print(how);
}

2) Can i call and dispaly an applet from within an application using io classes?

thanks

 
zaeem masood ashar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you please write a code fragment that does the same. I hope this is not asking too much!!
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!