my dog learned polymorphism
The moose likes Beginning Java and the fly likes Rotating banner in standalone application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Rotating banner in standalone application" Watch "Rotating banner in standalone application" New topic

Rotating banner in standalone application

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
I was trying to put an option of rotating banners in my application,but following code snippet is not working. Can someone please help me sort this issue.

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
What did you expect your example code to do?
What does it actually do? Does it compile? Does it throw any exceptions? If so, where and when?

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Thanks Dirk, I was just able to sort out the issue last night only and also submitting the code for reference if somebody is interested.
The objective was to show different gif at a particular interval in a stand Alone application made in swing. but I want to give flexibility to the administrator for changing these images at any time.
Perhaps this is not a better way of doing and would appreciate if someone can point any mistake to increase its effeicency.

[ July 06, 2002: Message edited by: arun mahajan ]
It is sorta covered in the JavaRanch Style Guide.
subject: Rotating banner in standalone application
jQuery in Action, 3rd edition