private void setup()
    {
        
        try
        {
            bom = BookingOptionsManager.getInstance();
        } catch (IOException ex)
        {
            Logger.getLogger(OptionsGui.class.getName()).log(Level.SEVERE, null, ex);
        }
        try
        {
            options = bom.getAll();
        } catch (SQLException ex)
        {
            Logger.getLogger(OptionsGui.class.getName()).log(Level.SEVERE, null, ex);
        }
        for(BookingOptions b: options)
        {
            if(b.getType().equalsIgnoreCase("outdoor"))
            {
                txtOutdoorPrice.setText(b.getPrice()+"");
                txtOutdoorRentalFrom.setText(b.getRentableFromDate());
                txtOutdoorRentalTo.setText(b.getRentableToDate());
                txtOutdoorRentalTimeFrom.setText(b.getRentableFromTime()/60 + ":" +b.getRentableFromTime()%60);
                txtOutdoorRentalTimeTo.setText(b.getRentableToTime()/60 + ":" + b.getRentableToTime()%60);
            }
            else if(b.getType().equalsIgnoreCase("indoor"))
            {
                txtIndoorPrice.setText(b.getPrice()+"");
                txtIndoorRentalFrom.setText(b.getRentableFromDate());
                txtIndoorRentalTo.setText(b.getRentableToDate());
                txtIndoorRentalTimeFrom.setText(b.getRentableFromTime()/60 + ":" +b.getRentableFromTime()%60);
                txtIndoorRentalTimeTo.setText(b.getRentableToTime()/60 + ":" + b.getRentableToTime()%60);
            }    
        }
        
    }