• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

urgent!! io classes and gif files

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic