diff --git a/src/main/java/userprofilebuilder/view/MainViewer.java b/src/main/java/userprofilebuilder/view/MainViewer.java index bdd2064..0a0516b 100644 --- a/src/main/java/userprofilebuilder/view/MainViewer.java +++ b/src/main/java/userprofilebuilder/view/MainViewer.java @@ -16,7 +16,6 @@ import javax.swing.JFrame; public class MainViewer { private JFrame viewer; - public int a = 3; // this represents a value that is to declare how many rows are to be made private void CreateRow(int count, JPanel jp) // Function to create a row // holds all the data of a row in the grid layout below. @@ -44,7 +43,7 @@ public class MainViewer { JPanel page = new JPanel(); - page.setLayout(new GridLayout(a,3)); // Because i cant remember the orientation of grid layout params it's (x,y) AKA rows , columns + page.setLayout(new GridLayout(0,3)); // Because i cant remember the orientation of grid layout params it's (x,y) AKA rows , columns JT.addTab(Pname, page);