• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Using applets as applications??

 
Ranch Hand
Posts: 664
Eclipse IDE Chrome
  • 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.
 
What's that smell? Hey, sniff this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic