Đang Thực Hiện

Swing Project: Playing Card Manager

Swing Project: Playing Card Manager

In this project you will develop a GUI to allow the user to pick and display cards from a standard 52-card

deck. This project does not include the development of any specific game, but it could be used as a

platform on which to implement a game. You will download a zip file of images of playing cards. Each

.PNG file contains an image of a single card. The name of the file encodes the suit and face value of that

card. The relevant class to access the local file system from a Java application is java.io.File.

Part 1

Create an app that displays two components: a JButton labeled “Choose Card” and a CardImagePanel to

display a single card image, initially empty. When the JButton is clicked, it opens a JFileChooser dialog

that is initialized to display the contents of the card image file directory. When the user picks a file, the

file is displayed in the CardImagePanel. The button and card image panel are added to a generic JPanel

with the default FlowLayout layout manager.

In part 1, you are not loading and managing the entire card deck, so you do not need the enums or hash

map to manage the deck. You are only opening a single file, building a BufferedImage for it, and

displaying the image in a CardImagePanel. At this point it is not necessary to identify the card by suit

and face, you are simply picking a file with the file chooser and displaying the image from that file on the

GUI

Part 2

Create an app that displays two components: a JPanel called a CardChooserControl with internal

components to choose a card by suit and face, and a CardImagePanel to display the chosen card. The

CardChooserControl contains a JComboBox to select a face value, a JLabel with the text “of”, a

JComboBox to select a suit, and a JButton to fetch and display the chosen card. This design somewhat

simplifies the complexity of responding to events generated by each change in selection of a combo box.

The user configures the combo boxes, and can continue to change them without triggering any activity

until the button is clicked.

Part 3

This version is identical initially to Version 2. The new feature is, once the chosen card image is

displayed, the image can be moved around the display with mouse press and drag.

The JPanel that contains the control panel and card image panel will use absolute positioning and no

layout manager. The card image panel will use mouse listener and mouse motion listener to change the

location of the panel by dragging it with the mouse. When constructing the containing JPanel for the

GUI, use setLayout(null) to disable layout. The listeners will be added to the CardImagePanel class.

Since there is no layout manager for the main panel that displays the control panel and the card image

panel, all components must be given a size and a location initially. Location is up to the developer. Size

can easily be set based on the objects’ preferred size.

Part 4

This version will allow the user to pick 5 cards and display the 5 cards on the display area. When the

application launches, the full set of card images are loaded as before. Then the display area is initially

empty. A single menu named “Cards” with menu item “Choose” is provided. When the “Choose” menu

item is selected, it displays a custom dialog box to select five cards and an “OK” button to dismiss the

dialog. The five cards are then displayed in the main display area, and each card can be moved with

mouse press and drag.

Kĩ năng: Java, JavaFX, Swing (Java), Graphical User Interface (GUI)

Xem nhiều hơn: code project pci card control, project rate card graphic design, free playing card vector file, develop standard grocery list, online file storage project requirements management manager, phone card web develop, business card playing card, basic playing card design, vector playing card design, vector playing card images, animated birthday card manager, project virtual soccer manager, free playing card image credit, guide develop standard php project phpbb, develop database report swing project java, standard 52 card deck, playing card art project, standard 52 card deck probability, standard playing card size

Về Bên Thuê:
( 6 nhận xét ) Reseda, United States

ID dự án: #31873096

14 freelancer chào giá trung bình$158 cho công việc này

urmate

Hi I have checked your project description. I have excellent programming and development skills. Contact me with all the details and requirements for your project for further discussion. I will provide you with dedica Thêm

$30 USD trong 3 ngày
(561 Nhận xét)
7.5
(106 Nhận xét)
6.5
ahmedbilal2506

Hi sir I am interested to work with you. I can provide you professional web design services. I can design for you according to your requirements. I will give you unlimited revision until you will not satisfy for your d Thêm

$30 USD trong 1 ngày
(52 Nhận xét)
5.3
esa59cfdec1d6569

Hi there, I checked your requirements and guarantee you it's gonna be done within the next few hours. Let's contact via chat so that I can start work immediately. Wish you the best. -----------------------------

$99 USD trong 7 ngày
(27 Nhận xét)
4.6
CodingHelpLine

Hello I'm Certified Java Programmer. Contact for awesome Java desktop (Console, Swing, JavaFX), Web (JEE, Spring) and Android apps. I assure you an excellent solution of your project within the time frame and exactly Thêm

$150 USD trong 5 ngày
(44 Nhận xét)
4.7
rexzetsolutions

Yes, i am Swing expert. i can make Playing Card Manager project as per your requirement. Message me i am ready to start work form right now.

$300 USD trong 2 ngày
(3 Nhận xét)
3.7
DaniilLakman

Dear Client! I've read your all description carefully and understood your requirement I will finish your project on time and perfectly. I have good experience in this field. So far, Let's discuss about budget and dea Thêm

$30 USD trong 1 ngày
(5 Nhận xét)
3.1
Nikita1241

Hi, I have read your post carefully. As a senior Java developer, I have already developed lots of projects with Swing. That's why I think I can get this done in a timely manner. If you hire me , I will bring you to su Thêm

$100 USD trong 2 ngày
(7 Nhận xét)
3.4
aliakseidev2

I am an experienced Web Developer having 7 years experience with java and java spring framwork WordPress/PHP. I have awarded many times for delivering best quality work. Please have a look on my expertise: # WordPress, Thêm

$200 USD trong 7 ngày
(1 Nhận xét)
2.3
tyuturkinnik

Dear Client. I am Nikita Thank you for your posting. I've just read your description and guarantee 100% success on your job. Let's discuss about budget and deadline on private chat. Looking forward to hearing from you Thêm

$80 USD trong 2 ngày
(3 Nhận xét)
2.2
Shablu4u

Hi, I have a deep understanding and experience in Java ****************************************************** I'm sure to complete this project with high quality on time. Looking forward to hear more about the project Thêm

$90 USD trong 5 ngày
(4 Nhận xét)
2.4
Developershub002

Hi There...! Note : I give you 25% off on my all services. So grabs this special limited discount offer. Let’s get to the Project. I came to know that your  Looking a developer which have rich knowledge about java Thêm

$400 USD trong 7 ngày
(3 Nhận xét)
0.0
saadimam6

Hello, I'm an experienced professional and would love to help you in this project. Please review my portfolio shared below and let's connect on chat to discuss further about it [login to view URL] Regar Thêm

$250 USD trong 7 ngày
(0 Nhận xét)
0.0
aliashraf92

Hi, I did many GUI based desktop applications using multiple technologies like swing, wpf, win forms. If you are interested I can deliver you this java gui project with source code and all the stuff. I assure you quali Thêm

$250 USD trong 7 ngày
(0 Nhận xét)
0.0