12/09/2013

BCS2233 OOP: Quiz 4

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());
  }
}

No comments:

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.  ...