|
NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems
ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en:
http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com. |
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂtulo en concreto puede realizar una donación directa mediante Paypal:
|
All browsers allow applets to display a short status string. All applets on the page, as well as the browser itself, share the same status line.
You should never put crucial information in the status line. If many users might need the information, it should instead be displayed within the applet area. If only a few, sophisticated users might need the information, consider displaying the information on the standard output (see Displaying Diagnostics to the Standard Output and Error Streams).
The status line is not usually very prominent, and it can be overwritten by other applets or by the browser. For these reasons, it's best used for incidental, transitory information. For example, an applet that loads several image files might display the name of the image file it's currently loading.
Applets display status lines with the
showStatusmethod, inherited in theJAppletclass from theAppletclass.Here's an example of its use:
showStatus("MyApplet: Loading image file " + file);
Note: Please don't put scrolling text in the status line. Browser users find such status line abuse highly annoying!