Here is the topic, Java Applet Program to Demo FlowLayout.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
//----Program to Demo FlowLayout. import java.awt.*; import java.applet.*; import java.awt.event.*; /* <APPLET CODE="pandu97" WIDTH="500" HEIGHT="300"> </APPLET> */ public class pandu97 extends Applet implements ItemListener { string msg; CheckboxGroup cbg1, cbg2; Checkbox os1, os2, os3, os4, os5; Checkbox wb1, wb2, wb3, wb4, wb5; public void int(0) { setLayout(new FlowLayout(FlowLayout.LEFT, 50, 50); cbg1 = new checkboxGroup(); cbg2 = new checkboxGroup(); os1 = new Checkbox ("MS Windows", true, cbg1); |
Comment below if you have queries related to the above topic, Java Applet Program to Demo FlowLayout.