Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Using applets as applications??  RSS feed

 
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Horstmann reads that an applet can be used as an application by calling it from appletviewer, however, I can't seem to get the code running within my console, can you help?






"Listings 10–5 and 10–6 list the code. Try running both the applet and the application:
appletviewer NotHelloAppletApplication.java
java NotHelloAppletApplication"



Also, any code snippet for playing an audio file from a webpage written in HTML that calls Java code to play the audio file? It seems I have to use java.applet.AudioClip, and, that MP3 format is not supported, although, there are libraries written to support this functionality.



Source: Core Java Volume I (8th Ed) P.532 to P.538.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!