• 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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!