1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
almond37 [142]
4 years ago
11

Creating a Graphical User Interface in Java

Computers and Technology
1 answer:
tankabanditka [31]4 years ago
4 0

Answer:

JPanel PayrollPanel=new JPanel();

JButton saveButton=new JButton("Save");

A full code snippet and screen shot is provided in the explanation section

Explanation:

import java.awt.*;

import javax.swing.*;

public class TestClass {

   TestClass()  {

       JFrame f= new JFrame("Payroll Panel");

       JPanel payrollPanel=new JPanel();

       payrollPanel.setBounds(10,20,200,200);

       payrollPanel.setBackground(Color.gray);

       JButton saveButton=new JButton("Save");

       saveButton.setBounds(50,100,80,30);

       saveButton.setBackground(Color.yellow);

       payrollPanel.add(saveButton);

       f.add(payrollPanel);

       f.setSize(400,400);

       f.setLayout(null);

       f.setVisible(true);

   }

   public static void main(String args[]) {

       new TestClass();

   }

}

You might be interested in
What is the protocol in the web search at the bottom?
klasskru [66]
(D) HTTP, or hyper-text transfer protocol, is the standard or set of rules that governs how web pages are sent over the internet.
3 0
3 years ago
A central issue of public sharing is:
Troyanec [42]
I think is b.how much time we spend alone
6 0
3 years ago
Read 2 more answers
A _________ is a task at the lowest level of the WBS that represents the level of work that the project manager uses to monitor
Gre4nikov [31]

<u>Full question:</u>

A _____ is a deliverable at the lowest level of the WBS that represents the level of work that the project manager uses to monitor and control the project.

a) WBS dictionary

b) Budget item

c) Line item

d) Work package

Option D

A Work package is a deliverable at the lowest level of the WBS that represents the level of work that the project manager uses to monitor and control the project.

<u>Explanation:</u>

Work packages are the tiniest unit of activity that a project can be split down into when designing your Work Breakdown Structure (WBS). It can aid you to recognize the aspects you needed to prepare costs and work hours and then observe and maintain the application to completion.

 Work packages can be recorded, cost evaluated, observed, and measured. Work packages provide for contemporary work to be performed on different components of a project in resemblance by multiple teams. Each team understands the tasks specified for the work package and finishes them by the specified deadline.

6 0
3 years ago
Out put of Print (3**2*2)
expeople1 [14]

Answer:

18

Explanation:

please mark me as brainliest

4 0
2 years ago
Read 2 more answers
I need someone whos really good with computers to help me with some things
posledela

Okay what do you need to know

4 0
3 years ago
Other questions:
  • Software can be distributed on the web. <br> a.true <br> b.false
    12·1 answer
  • Ned and mary ann are saving their files to a cd
    15·1 answer
  • A power supply unit for a computer converts:
    7·1 answer
  • When you want to avoid sending email that a recipient may feel their privacy has been invaded, how would you fill in the (To) bo
    13·1 answer
  • Which function will add a name to a list of baseball players in Python?
    13·2 answers
  • A powerboat is about to cross paths with a sailboat under sail. What should the powerboat do
    5·1 answer
  • Does anyone know any good new online multiplayer console games that are either out or coming out soon.
    7·1 answer
  • Risk taker positive or negative​
    8·1 answer
  • A(n) __________ structure is a structure that causes a statement or a set of statements to execute repeatedly.
    13·1 answer
  • Global communication and transportation technologies are an example of a(n) ____
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!