just started
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								bin/BillGUI/App.class
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bin/BillGUI/App.class
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										11
									
								
								src/BillGUI/App.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/BillGUI/App.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | package BillGUI; | ||||||
|  |  | ||||||
|  | public class App { | ||||||
|  |     public static void main(String[] args) { | ||||||
|  |         int rows = 9; | ||||||
|  |         int cols = 2; | ||||||
|  |         String name; | ||||||
|  |         String logoFilePath; | ||||||
|  |         new ManagerGui(rows, cols, name, logoFilePath); | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -8,6 +8,16 @@ import javax.swing.*; | |||||||
|  *  |  *  | ||||||
|  */ |  */ | ||||||
| public class ManagerGui extends JFrame{ | public class ManagerGui extends JFrame{ | ||||||
|     GridLayout grid = new GridLayout(2,9); |     GridLayout grid; | ||||||
|  |     JLabel Jname; | ||||||
|  |     JLabel Jlogo; | ||||||
|  |      | ||||||
|  |  | ||||||
|  |     public ManagerGui(int n,int m, String name, String logoFilePath){ | ||||||
|  |         grid = new GridLayout(n,m); | ||||||
|  |         Jname = new JLabel(name); | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |      | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user