Presentation is loading. Please wait.

Presentation is loading. Please wait.

POS 407 Assignments Emilio Yanine. Workshop 3 Programming Assignment Implement FHiLo as an Applet, call it JHiLo2.java Modify applet to use multiple JPanels.

Similar presentations


Presentation on theme: "POS 407 Assignments Emilio Yanine. Workshop 3 Programming Assignment Implement FHiLo as an Applet, call it JHiLo2.java Modify applet to use multiple JPanels."— Presentation transcript:

1 POS 407 Assignments Emilio Yanine

2 Workshop 3 Programming Assignment Implement FHiLo as an Applet, call it JHiLo2.java Modify applet to use multiple JPanels to achieve better GUI. – Use one JPanel to hold the single JLabel object displaying the name of your game (be creative, use fonts). Add this panel to the North area of the applet’s container pane which by default uses a BorderLayout. – Use another JPanel with a grid layout to hold text fields and labels for displaying the cards dealt and scores. This panel will be added to the Center area of the BorderLayout of the Applet’s container. – Use one final JPanel with a border layout to hold the shuffle and deal buttons. Add this panel to the South area of the BorderLayout of the applet’s container – Must also use a large, bold font for at least the game name label – Hint: Use JBankUI.java as a model for better GUI design

3 Workshop 3 Programming Assignment Files required for program (4) – Card.java (download from web) – Deck.java (download from web) – PlayDeck.java (download from web) – JHiLo2.java (Homework) email only JHiLo2.java

4 Workshop 3 Programming Assignment Relative positions maintained regardless of window size Note: examples below are missing the (North) label with game “name”


Download ppt "POS 407 Assignments Emilio Yanine. Workshop 3 Programming Assignment Implement FHiLo as an Applet, call it JHiLo2.java Modify applet to use multiple JPanels."

Similar presentations


Ads by Google