Swing - wrong setting of button array
Is there a way to have a collection of objects JButton
that are not in the standard "Grid" form? I am specifically going to create a set of buttons of different shapes and sizes, for example, the bottom two lines of the Microsoft calculator.
Here's an example of how I want the buttons to look like this:
+3
source to share