public void loadAllElements(){
        try {
            ResultSet dbAllElements = null;
            Statement statement;
            statement = connection.createStatement();  
            dbAllElements = statement.executeQuery( "SELECT Element.elementID, Element.elementName, SetOFAssets.assetID" +
                    "FROM Element LEFT OUTER JOIN SetOFAssets ON Element.elementID = SetOFAssets.elementID;");
            while(dbAllElements.next())
            {
                SetOfAssets elementAssets = new SetOfAssets();
                for(int i=0; i< allAssets.size() ; i++)
                {
                    if(allAssets.get(i).getAssetID() == dbAllElements.getInt("assetID"))
                    {
                        elementAssets.addAsset(allAssets.get(i));
                    }
                }
                Element tempElement = new Element(dbAllElements.getInt("elementID"), dbAllElements.getString("elementName"), elementAssets);
            }
        } catch (SQLException ex) {
            Logger.getLogger(testFrame3Tim.class.getName()).log(Level.SEVERE, null, ex);
        }
    }