odette
Aktives Mitglied
Thread Starter
- Dabei seit
- 05.06.2003
- Beiträge
- 413
- Reaktionspunkte
- 17
Ich bin gerade dabei ein Slidshow applet zu erstellen (nach Vorlage).
Das besteht aus zwei Teilen.
TEIL 1 - Das Applet
<APPLET CODE = "se.bysoft.sureshot.products.webeffects.applet.SlideShowApplet.class"
ARCHIVE = "slideshow.jar,resources.jar" WIDTH = "250" HEIGHT = "300"
ALT = "Your browser understands the applet tag but isn't displaying any applet.">
<PARAM NAME="info" VALUE="Slideshow Applet - http://www.bysoft.se/sureshot/webeffects/">
</APPLET>
TEIL2 - ein config.txt file
########################################################
# #
# Configuration template file for the Slideshow Applet #
# #
# http://www.bysoft.se/sureshot/webeffects/ #
# #
########################################################
#
# The number of frames used in the transition between
# images.
#
frames=20
#
# The frame rate (ms) used in the transition between
# images.
#
frameDelay=100
#
# The time (ms) each image in the slideshow is displayed
# once the transition is finished.
#
displayTime=3000
#
# The slideshow images.
#
image0=image0.gif
image1=image1.gif
image2=image2.gif
image3=image3.gif
image4=image4.gif
image5=image5.gif
______________________________________________
so weit, so gut
weiter heißt es in der Anleitung:
"Copy 'config.txt' and the images to a temporary directory. Create a .jar archive containing the 'config.txt' and the images by running the 'jar' command. (The jar command is part of the Java SDK).
cd c:\tmp\slideshowtmp\
jar cf resources.jar *
resources.jar should now contain the configuration file and the images."
Ab hier versteh ich das Ganze nicht mehr. Was ist ' a temporary directory' ?
Und wie create ich ein .jar archive ? Was ist das?
Ich verstehe einfach nicht:
WO die Bilder und das 'config.txt' file gespeichert sein sollen.
Und WELCHE Zeile in dem script auf diesen Speicherort verweist und von mir dementsprechend verändert werden muß.
Kann mir da jemand helfen?
Danke!
O.
Das besteht aus zwei Teilen.
TEIL 1 - Das Applet
<APPLET CODE = "se.bysoft.sureshot.products.webeffects.applet.SlideShowApplet.class"
ARCHIVE = "slideshow.jar,resources.jar" WIDTH = "250" HEIGHT = "300"
ALT = "Your browser understands the applet tag but isn't displaying any applet.">
<PARAM NAME="info" VALUE="Slideshow Applet - http://www.bysoft.se/sureshot/webeffects/">
</APPLET>
TEIL2 - ein config.txt file
########################################################
# #
# Configuration template file for the Slideshow Applet #
# #
# http://www.bysoft.se/sureshot/webeffects/ #
# #
########################################################
#
# The number of frames used in the transition between
# images.
#
frames=20
#
# The frame rate (ms) used in the transition between
# images.
#
frameDelay=100
#
# The time (ms) each image in the slideshow is displayed
# once the transition is finished.
#
displayTime=3000
#
# The slideshow images.
#
image0=image0.gif
image1=image1.gif
image2=image2.gif
image3=image3.gif
image4=image4.gif
image5=image5.gif
______________________________________________
so weit, so gut
weiter heißt es in der Anleitung:
"Copy 'config.txt' and the images to a temporary directory. Create a .jar archive containing the 'config.txt' and the images by running the 'jar' command. (The jar command is part of the Java SDK).
cd c:\tmp\slideshowtmp\
jar cf resources.jar *
resources.jar should now contain the configuration file and the images."
Ab hier versteh ich das Ganze nicht mehr. Was ist ' a temporary directory' ?
Und wie create ich ein .jar archive ? Was ist das?
Ich verstehe einfach nicht:
WO die Bilder und das 'config.txt' file gespeichert sein sollen.
Und WELCHE Zeile in dem script auf diesen Speicherort verweist und von mir dementsprechend verändert werden muß.
Kann mir da jemand helfen?
Danke!
O.
Zuletzt bearbeitet von einem Moderator: