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();
}
}
A Router transfer data packets from one node to another node in a network.
It's Microsoft office power point presentation.
Cells are identified by the Cell Name (or Reference, which is found by combining the Column Letter with the Row Number. For example the cell in Column "C" in Row "3" would be cell C3. Cells may contain Labels, Numbers, Formulas or Functions. Cell Name: By default, the name of a cell is the cell reference.
Hope this helps