Get premium membership and access questions with answers, video lessons as well as revision papers.
Typical syntax: in your Frame class’s constructor
setLayout(new FlowLayout(FlowLayout.LEFT))
OR
setLayout(new FlowLayout(FlowLayout.LEFT,hgap,vgap))
gregorymasila answered the question on January 24, 2018 at 17:42
- Differentiate between the following layout managers
i. GridLayout
ii. BorderLayout
iii. FlowLayout(Solved)
Differentiate between the following layout managers
i. GridLayout
ii. BorderLayout
iii. FlowLayout
Date posted: January 24, 2018. Answers (1)
- Explain the difference between the AWT components and the Swing Components using examples(Solved)
Explain the difference between the AWT components and the Swing Components using examples
Date posted: January 24, 2018. Answers (1)
- Distinguish between abstract classes and interfaces(Solved)
Distinguish between abstract classes and interfaces
Date posted: January 24, 2018. Answers (1)
- Java exception handling is managed by five keywords: state and discuss the role of each of the keywords.(Solved)
Java exception handling is managed by five keywords: state and discuss the role of each of the keywords.
Date posted: January 24, 2018. Answers (1)
- State four differences between Java applications and Java applets programming.(Solved)
State four differences between Java applications and Java applets programming.
Date posted: January 24, 2018. Answers (1)
- Explain the following terms:
i. Inheritance
ii. Encapsulation
iii. Polymorphism(Solved)
Explain the following terms:
Explain the following terms:
i. Inheritance
ii. Encapsulation
iii. Polymorphism
Date posted: January 24, 2018. Answers (1)
- By use of relevant examples, state the difference between
i. Statement and a block.
ii. Superclass and subclass
iii. Function overloading and overriding(Solved)
By use of relevant examples, state the difference between
i. Statement and a block.
ii. Superclass and subclass
iii. Function overloading and overriding
Date posted: January 24, 2018. Answers (1)
- State and explain four advantages of Java as an object oriented programming language.(Solved)
State and explain four advantages of Java as an object oriented programming language.
Date posted: January 24, 2018. Answers (1)
- Briefly describe what it means by business object analysis?(Solved)
Briefly describe what it means by business object analysis?
Date posted: January 24, 2018. Answers (1)
- Explain the benefits of the Unified Software Development Process (USDP).
(Solved)
Explain the benefits of the Unified Software Development Process (USDP).
Date posted: January 24, 2018. Answers (1)
- Define a model and briefly discuss the two types of models(Solved)
Define a model and briefly discuss the two types of models
Date posted: January 24, 2018. Answers (1)
- What is generalization? Give its advantage.(Solved)
What is generalization? Give its advantage.
Date posted: January 24, 2018. Answers (1)
- Briefly discuss UML and State significance of the Unified Modeling Language (UML) in object orientation (Solved)
Briefly discuss UML and State significance of the Unified Modeling Language (UML) in object orientation
Date posted: January 24, 2018. Answers (1)
- Outline some characteristics of a bad design? (Solved)
Outline some characteristics of a bad design?
Date posted: January 24, 2018. Answers (1)
- State the significance of analysis in object-oriented approach to systems development. (Solved)
State the significance of analysis in object-oriented approach to systems development.
Date posted: January 24, 2018. Answers (1)
- Define inheritance (Solved)
Define inheritance
Date posted: January 24, 2018. Answers (1)
- Briefly explain the main phases of USDP. (Solved)
Briefly explain the main phases of USDP.
Date posted: January 24, 2018. Answers (1)
- Most experts agree on a set of common principles of quality software: Briefly discuss the design principles stated below (Solved)
Most experts agree on a set of common principles of quality software: Briefly discuss the design principles stated below:
Reusability
Reliability
Robustness
Extensibility
Scalability
Date posted: January 19, 2018. Answers (1)
- Identify and discuss five aspects of human intelligence that could be used to characterize intelligent knowledge based systems.(Solved)
Identify and discuss five aspects of human intelligence that could be used to characterize intelligent knowledge based systems.
Date posted: January 9, 2018. Answers (1)
- Define a table.(Solved)
Define a table.
Date posted: January 3, 2018. Answers (1)