Name:_______________________
Matric:_______________________
Course:_______________________
CHAPTER 12
1. Explain the difference between AWT GUI components, such as java.awt.Button, and Swing components, such as javax.swing.JButton.
2. Show the output of the following java code:
import javax.swing.*;
public class Test {
public static void main(String[] args) {
JButton jbtOK = new JButton("OK");
System.out.println(jbtOK.isVisible());
JFrame frame = new JFrame();
System.out.println(frame.isVisible());
}
}
Subscribe to:
Post Comments (Atom)
Cara download Installer windows 10 dalam format ISO
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...
-
ANSWERS TO CHAPTER EXERCISES (CHAPTER 8) Review Questions 1. List and describe various types of output, including technolog...
-
Based on real life scenario on any local company/ organization which you are very familiar, define the problem that could be addressed thr...
-
A. Response to the following statements by circling either T (TRUE) or F (FALSE). [10M] I. 1. Java enables users...
No comments:
Post a Comment