Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program 2: (Layering Controls) You can put a layout on some controls, One example is the Panel class you learn on paces 538 539 which

image text in transcribed
image text in transcribed
Program 2: (Layering Controls) You can put a layout on some controls, One example is the Panel class you learn on paces 538 539 which holds a grid of button. By Layering the panels (which can each have their own layout and internal controls) you can get an interface like the Blackboard Website you are looking at right now. It was coded in Java and has a Border Layout for the main Frame, a Title in the North area, and a panel with a grid in the West Area. You are going to dupicate this technique in this assignment: You have 2 options. Please do one or the other. Doing both is not extra credit because they are doing the same exact thing.) Option 1: Simple Blackboard Frame Make a Java Frame that displays on the screen and has a central panel for Content (you can have a control that says "Welcome to Blackboard or has a Sample Announcement if you like). A Label in the North Area that says "My Blackboard, and a grid of buttons in the West Area that has the following buttons: "Announcements", "Instructor", "Course Information", "Course Documents", and "Assignments. You will have to use a Panel to hold the grid of buttons. Option 2: Microwave Make a Java Frame that displays on the screen and has a central panel for Content you can have a control that says "Ready if you like and a keypad in the East Area with buttons 0-9, Start Stop, and a place to for the time. You may have to use more than one Panel with a Grid in it and do more than one layer. Here is one example of a plan for this interface (which was created in paint and would probably be 3 panels with grids to make in java) Time to Cook start stop Window Time to Cook start 0 stop For either option you do not have to have anything happen at all when the buttons are pressed. This assignment is being graded on your ability to make the interface and layer the controls. BUT you do have to manually create all the controls on this assignment and manually set the layouts like you learned in the chapter......You cannot use a JFrame Application in Netbeans where you have the toolbox and just drag the controls to where you want them from the toolbox. You have to set up the interface in code on this one to learn how to do it (because you will not always be able to use an IDE to create every java application with this editor doing it for you and thats what this assignment is about.) Activate Window

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions