Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please Post screenshots of your Code & Output(So I can see indentations) Along with a Copy & Pasteable portion of your solution) It would be
Please Post screenshots of your Code & Output(So I can see indentations) Along with a Copy & Pasteable portion of your solution)
It would be helpful if I got a different solution other than the one posted below, I'm having trouble running the code due to java swing imports not downloaded
TY in Advance,
Develop a WindowsBuilder Java GUI program using the following screen layout for a Website Survey When the user fills in the data and clicks Display Results, the data should be displayed in the TextArea (Survey Results) one line per data item. Note: Rectangles are TextBoxes, Squares are CheckBoxes and Circles are RadioButtons User Survey: First Name: Last Name: City: State: Zip Code: Gender: O Male Female Interests: Choose one or more Communication Preference: Choose one Survey Results: Art Email Music Text Message Science Phone Technology Food Display Results Games Sample Output: First Name: John Last Name: Doe City: Dallas State: TX Zip Code: 76060 Gender: Mali Interests: Art Music Food Communication Preference: Email XXX x X X 10 import java.awt. FlowLayout; > 2 import java.awt.GridBag Layout; 3 import java.awt.GridLayout; 4 import java.awt.event. ActionEvent; 5 import java.awt.event. ActionListenec 6 import java.util.ArrayList; 7 import javax.swing.BorderFactory 8 import javax.swing.ButtonGroup: x 9 import javax.swing. JButton; 10 import javax.swing. JCheckBox; 11 import javax.swing. JFrame; 12 import javax.swing. JLabel: 13 import javax.swing.JOptionPane; 14 import javax.swing. JPanel: 15 import javax.swing. JRadioButton 16 import javax.swing. JScrollpane; 17 import javax.swing: JTextArea; 18 import javax.swing. JTextField; 19 import javax.swing: ScrollpaneConstants: 20 import javax.swing.border,Border: 21 220 /** 23 * This class provides a Graphical User Interface (GUI) to the user to fill a survey and display the results. 24 @authorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started