Package Phase1
Class ChoosePieces
java.lang.Object
Phase1.ChoosePieces
public class ChoosePieces
extends java.lang.Object
Class with the part of the GUI responsible for allowing the user to choose desired pentomino pieces
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.JLabel[]pieces -
Constructor Summary
Constructors Constructor Description ChoosePieces()Default class constructor
Whenever used, it makes sure that a new class instance is fired and that all settings are reset to default values -
Method Summary
Modifier and Type Method Description voidcreatePieces()Creates a window of the class to make it possible for user to input desired values
It adds the interactive layer with all clickable and adjustable elements to the GUI.voidcreateWindow()
-
Field Details
-
pieces
public static javax.swing.JLabel[] pieces
-
-
Constructor Details
-
ChoosePieces
public ChoosePieces()Default class constructor
Whenever used, it makes sure that a new class instance is fired and that all settings are reset to default values
-
-
Method Details
-
createPieces
public void createPieces()Creates a window of the class to make it possible for user to input desired values
It adds the interactive layer with all clickable and adjustable elements to the GUI. -
createWindow
public void createWindow()
-