Professional Documents
Culture Documents
: 53
Exercise:
1.
import java.awt.Button;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.*;
Output
Name of Student: Ekambe Ganesh Roll No.: 53
2.
import java.awt.*;
setLayout(new GridBagLayout());
GridBagConstraints gc = new GridBagConstraints();
Output
Name of Student: Ekambe Ganesh Roll No.: 53