Create a Picture Puzzle using Java Swing

Offered By
Coursera Project Network
In this Guided Project, you will:

Create your own customized Graphical User Interface

Create your own game with your own set of game rules.

Clock1 hour
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 1-hour long project-based course, you will learn how to create a fully functioning picture puzzle game using Java and Swing toolkit. Java is one of the most in demand programming languages, and using the Swing toolkit with it will give you a chance to easily implement many game applications. Throughout the project, you will be able to identify and use most of the components inside the Swing toolkit , which includes creating and using JFrames, JPanels and all the necessary components you will require in order to create your own customized games using Java in Eclipse. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Video Game DevelopmentJavaSwing (Java)Computer ProgrammingComputer Science

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Set up a Java environment in Eclipse to create your application.

  2. Create the puzzle grid in the Graphical User Interface.

  3. Link the puzzle pieces and perform a swap between them.

  4. Check if the user won, show a pop up and reset the game.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.