Given the following program skeleton. Replace with a createContents method such that the resulting window matches the
Question:
Given the following program skeleton. Replace with a createContents method such that the resulting window matches the customer feedback window shown earlier in this chapter, in the TextArea Control section. You’ll want to instantiate two Label controls and a TextArea control and add them to the VBox pane. Run your completed program to make sure your generated form looks the same as what’s in the book. In particular, pay attention to these things:
• The pane should have 15 pixels of padding.
• Normally, a TextArea box will span the entire width of a VBox. Prevent that default behavior.
• User input should wrap to the next line when it bumps up against the box’s right edge.
Step by Step Answer:
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean