Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
I don't even know how to spell CIA. But this tiny ad does:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic