Given the following code fragment, draw a picture that illustrates the buttons positions within the programs window.
Question:
Given the following code fragment, draw a picture that illustrates the buttons’ positions within the program’s window.
setLayout(new GridLayout(0, 3)); add(new JButton("1"));
add(new JButton("2"));
add(new JButton("3"));
add(new JButton("4"));
add(new JButton("5"));
add(new JButton("6"));
add(new JButton("7"));
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: