943,973 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 1569
  • Java RSS
Jun 14th, 2007
0

Java Applets

Expand Post »
Hi

Anyone here knows java applets?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dotcom123 is offline Offline
8 posts
since Jun 2007
Jun 15th, 2007
0

Re: Java Applets

Hi

Anyone please tell me where can i get to learn java applets to create image slider?

Thanks for the help.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dotcom123 is offline Offline
8 posts
since Jun 2007
Jun 15th, 2007
0

Re: Java Applets

There is no need to use applets for slide show and you would only complicate your life. You may do it with JavaScript as I did it few years back in my coursework where I use buttons to move from image to image, but you can exclude buttons and use timer to change image every 3-5 seconds. Also same thing cam be done with Flash, PHP, Ajax and other things(flash slide show on top of the page on my website). Everything depends on you, if you wish to learn new language or new software application
Last edited by peter_budo; Jun 15th, 2007 at 7:29 am.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Jun 15th, 2007
0

Re: Java Applets

to learn something about applets check out the sun's java tutorial (use google to search for it ) About the slides if you have to use an applet then use threads or a timer. THe sun tutorial has a trail on java2D where you can learn how to load and render images, text and much more on graphics
Reputation Points: 10
Solved Threads: 2
Newbie Poster
pjade is offline Offline
6 posts
since Jun 2007
Jun 15th, 2007
0

Re: Java Applets

Click to Expand / Collapse  Quote originally posted by peter_budo ...
There is no need to use applets for slide show and you would only complicate your life. You may do it with JavaScript as I did it few years back in my coursework where I use buttons to move from image to image, but you can exclude buttons and use timer to change image every 3-5 seconds. Also same thing cam be done with Flash, PHP, Ajax and other things(flash slide show on top of the page on my website). Everything depends on you, if you wish to learn new language or new software application
thanks alot.. what i needed to do is nearly like what you have done but just that i need to change the button to slider bar.. So do you know how to change the button to slider bar? please kindly help me..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dotcom123 is offline Offline
8 posts
since Jun 2007
Jun 15th, 2007
0

Re: Java Applets

If you look up the source code (do right click on Gallery, open link in new window/tab, then right click on new opened document and View Page Source) to that slide show, you will see that buttons are just images which can be swaped for anything you like
html Syntax (Toggle Plain Text)
  1. <A HREF="JavaScript:slideshowBack()" onmouseover="mouseOn('left');" onmouseout="mouseOff('left');">
  2. <IMG SRC="../img/l_arrow_off.png" BORDER="0" NAME="left" id="left" ALT="Previous Image"></A>
  3. <A HREF="JavaScript:slideshowUp()" onmouseover="mouseOn('right');" onmouseout="mouseOff('right');">
  4. <IMG SRC="../img/r_arrow_off.png" BORDER="0" NAME="right" id="right" ALT="Next Image"></a>
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Jun 18th, 2007
0

Solved: Java Applets

Thanks peter_budo for your priceless help. I had solved my problems.

Thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dotcom123 is offline Offline
8 posts
since Jun 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: can any1 help me please
Next Thread in Java Forum Timeline: null value





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC