Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Using a code snippet show how to set the layout of a user interface.

Using a code snippet show how to set the layout of a user interface.

Answers


gregory
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

Answer Attachments

Exams With Marking Schemes

Related Questions