The bug found in the presentation that we forgot to review has been fixed
[RRRRHHHH_Code] / ruralHouses / src / gui / listOfHousesGUI.java
diff --git a/ruralHouses/src/gui/listOfHousesGUI.java b/ruralHouses/src/gui/listOfHousesGUI.java
deleted file mode 100644 (file)
index 726f738..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-package gui;
-
-import java.awt.BorderLayout;
-import java.awt.EventQueue;
-
-import javax.swing.JFrame;
-import javax.swing.JPanel;
-import javax.swing.border.EmptyBorder;
-import javax.swing.JLabel;
-
-import java.awt.Font;
-
-import javax.swing.JTextField;
-import javax.swing.JScrollPane;
-
-import java.awt.Rectangle;
-
-import javax.swing.JTable;
-import javax.swing.table.DefaultTableModel;
-
-import java.awt.Component;
-
-import javax.swing.Box;
-
-public class listOfHousesGUI extends JFrame {
-
-       private JPanel contentPane;
-       private JTextField textField;
-       private JTable table;
-
-       /**
-        * Create the frame.
-        */
-       public listOfHousesGUI() {
-               try {
-                       init();
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
-       }
-       
-       private void init() throws Exception
-         {
-               setBounds(100, 100, 600, 450);
-               contentPane = new JPanel();
-               contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
-               setContentPane(contentPane);
-               contentPane.setLayout(null);
-               
-               JLabel lblNewLabel = new JLabel("List of available houses in:");
-               lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 27));
-               lblNewLabel.setBounds(23, 41, 325, 33);
-               contentPane.add(lblNewLabel);
-               
-               textField = new JTextField();
-               textField.setEnabled(false);
-               textField.setEditable(false);
-               textField.setFont(new Font("Tahoma", Font.PLAIN, 27));
-               textField.setBounds(373, 41, 152, 33);
-               contentPane.add(textField);
-               textField.setColumns(10);
-               
-               JScrollPane scrollPane = new JScrollPane();
-               scrollPane.setBounds(new Rectangle(45, 305, 320, 116));
-               scrollPane.setBounds(23, 113, 536, 271);
-               contentPane.add(scrollPane);
-               
-               table = new JTable();
-               scrollPane.setViewportView(table);
-               table.setModel(new DefaultTableModel(
-                       new Object[][] {
-                       },
-                       new String[] {
-                               "House Name", "Bedrooms", "Kitchens", "Baths", "Parkings", "Livings"
-                       }
-               ));
-         }
-}