Skip to main content

Posts

Showing posts from March, 2018

Information form in Java

Programmers often must create forms using oops; today we’ll be creating one using Java. So remember the goal of this is to experiment with the code so enjoy!


importjava.awt.Color;
importjava.awt.GridLayout;
importjavax.swing.*;

classINFORFORM {

publicstaticvoidmain(String[] args) {
String[] selections = {"QUESTIONS", "REQUESTS", "INFORMATION", "INQUIERY", "PRESS","OTHER"};