public VistaVentanaCliente(ControladorCliente c) {

		controlador = c;
		this.setTitle("Modo Cliente");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);

		JPanel panel = new JPanel();
		getContentPane().add(panel, BorderLayout.NORTH);
		panel.setLayout(new BorderLayout(0, 0));

		JLabel lblClienteDeBases = new JLabel(
				"Cliente de Bases de Datos Remotas");
		lblClienteDeBases.setHorizontalAlignment(SwingConstants.CENTER);
		panel.add(lblClienteDeBases, BorderLayout.NORTH);

		lblEstado = new JLabel("Esperando iniciar conexión...");
		lblEstado.setHorizontalAlignment(SwingConstants.CENTER);
		panel.add(lblEstado, BorderLayout.SOUTH);

		JPanel panel_2 = new JPanel();
		contentPane.add(panel_2, BorderLayout.SOUTH);
		panel_2.setLayout(new BorderLayout(0, 0));

		JPanel panel_3 = new JPanel();
		panel_2.add(panel_3, BorderLayout.NORTH);
		panel_3.setLayout(new BorderLayout(0, 0));

		JLabel lblNewLabel = new JLabel("DBase: ");
		panel_3.add(lblNewLabel, BorderLayout.WEST);

		txtDB = new JTextField();
		panel_3.add(txtDB, BorderLayout.CENTER);
		txtDB.setColumns(10);

		JPanel panel_4 = new JPanel();
		panel_2.add(panel_4, BorderLayout.SOUTH);
		panel_4.setLayout(new BorderLayout(0, 0));

		JLabel lblNewLabel_1 = new JLabel("Query: ");
		panel_4.add(lblNewLabel_1, BorderLayout.WEST);

		txtQuery = new JTextField();
		txtQuery.addKeyListener(new KeyAdapter() {
			@Override
			public void keyPressed(KeyEvent e) {
				if (e.getKeyCode() == KeyEvent.VK_ENTER) {
					ejecutarQuery();
				}
			}
		});
		panel_4.add(txtQuery, BorderLayout.CENTER);
		txtQuery.setColumns(10);

		JPanel panel_1 = new JPanel();
		contentPane.add(panel_1, BorderLayout.CENTER);
		panel_1.setLayout(new BorderLayout(0, 0));

		dtm = new DefaultTableModel();
		table = new JTable(dtm);

		JScrollPane scrollPane = new JScrollPane(table);
		panel_1.add(scrollPane);

		lblResultado = new JLabel("Esperando realizar una consulta...");
		panel_1.add(lblResultado, BorderLayout.SOUTH);
		lblResultado.setHorizontalAlignment(SwingConstants.CENTER);
		this.setVisible(true);
	}