Skip to content

Advanced-Programming-1403/UI-Introduction-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI introduction workshop: JavaFX Pricing Plan Project

This is a starter JavaFX application that displays a pricing plan interface. Your goal is to complete and enhance this UI with additional functionality and styling.

📋 Assignment Objectives

Complete the following features:

1. Add an Icon to the Stage: Add an icon to the application window using stage.getIcons().add(...).

2. Apply Dark Mode Using CSS: Create and link a CSS stylesheet to apply a dark mode theme to the entire UI.

3.Show a Message Box on "Shop" Button Click: Add functionality so that clicking any "Shop" button opens a message box (e.g., using Alert).

4.Enlarge Price Option on Hover Make each price option grow by 10% when the mouse hovers over it, using either CSS transitions or JavaFX event handlers.

⭐ Bonus Task (Optional)

Replace the message box (Alert box) with another scene that acts as a new "Payment Page".

Create a new FXML add layout for this scene.

On "Shop" button click, switch to the new scene using stage.setScene(...).

You can add a simple "Back" button to return to the original pricing view

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages