I am working on Image Viewer
How do I work on the Action button to display images one after the other with Next and Previous

you mean in a Swing application?
just load the appropriate image using the actionPerformed method(s)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.