This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: King Saud University College of Computer and Information Systems, Department of Computer Science CSC 113: Java Programming-II, Spring2011 Lab#8 : GUI • User has chosen Cheese , Beef and ketchup and the size of burger is large. The total amount according to this selection is 10+40+5+40=95 Procedure: Create a class “ BurgerShop ” . JFrame will be the super class of this class and this class will also implement the ItemListener interface to implement the event handler. Add attributes of type JCheckBox, JRadioButton , JTextField and JLabel to Design the above interface. Layout Manager for the above GUI is GridLayout with 5 rows and 4 columns. You can choose some other Layout also. You can also add attributes and methods to implement the functionality. Create a Test(Main) Class to run the show....
View Full Document
- Spring '11
- Java Programming, King Saud University, Department of Computer Science, College of Computer and Information Systems