![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 13.04.2020 12:27 mj200442
Hi! How can I print the result of this program? It doesnt show anything, but the code is succesfully compiled.
package tema6;
import java. applet. Applet;
import java. awt. BorderLayout;
import java. awt. Button;
import java. awt. Checkbox;
import java. awt. CheckboxGroup;
import java. awt. Color;
import java. awt. FlowLayout;
import java. awt. Font;
import java. awt. Graphics;
import java. awt. Label;
import java. awt. Panel;
import java. awt. TextArea;
import static java. awt. TextArea. SCROLLBARS_BOTH;
import static java. awt. TextArea. SCROLLBARS_NONE;
import static java. awt. TextArea. SCROLLBARS_VERTICAL_ONLY;
import java. awt. TextField;
public class Lab61 extends Applet {
public void init() {
TextArea editzone=new TextArea("Astazi \n este\n duminica?", 5, 10, SCROLLBARS_BOTH);
editzone. setEditable(true);
editzone. setBackground(Color. green);
editzone. setForeground(Color. black);
editzone. setFont(new Font("Papyrus",Font. BOLD,20));
add(editzone);
Button a=new Button("OK");
a. setFont(new Font("Magneto",Font. BOLD,12));
a. setBackground(Color. red);
a. setForeground(Color. black);
add(a);
Panel option=new Panel();
CheckboxGroup chgroup=new CheckboxGroup();
option. add(new Checkbox("BUNA", false, chgroup));
option. add(new Checkbox("SALUT",false, chgroup));
option. add(new Checkbox("LA REVEDERE",false, chgroup));
option. setBackground(Color. blue);
option. setFont(new Font("Chiller", Font. BOLD, 14));
option. setForeground(Color. pink);
add(option, BorderLayout. EAST);
}
public static void main(String[] args) {
}
}
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:30, Prettygirlyaya
How is the brightness of oled of the diaplay is controled
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 14:00, uday50
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 15:00, herchellann302
To check whether your writing is clear , you can
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 04:30, andrespacheco5888
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
You know the right answer?
Hi! How can I print the result of this program? It doesnt show anything, but the code is succesfully...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 24.03.2021 01:00
![Konu](/tpl/images/cats/mir.png)
World Languages, 24.03.2021 01:00
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 24.03.2021 01:00
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 24.03.2021 01:00
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 24.03.2021 01:00
![Konu](/tpl/images/cats/en.png)
English, 24.03.2021 01:00