elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Estamos en la red social de Mastodon


  Mostrar Mensajes
Páginas: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ... 79
81  Programación / Programación C/C++ / Re: NECESITO AYUDA EMPEZANDO EN C++ en: 23 Noviembre 2011, 03:55 am
@RuB'n

 :xD http://lmgtfy.com/
82  Programación / Programación C/C++ / Re: Necesito una ayuda con este struct en: 18 Noviembre 2011, 07:15 am
La estrutura seria asi
Código
  1. struct x{
  2. string nombre;
  3. int VotoD;
  4. int VotoS;
  5. }elecciones[MAXARRAY];

 y de de donde tienes la variable "i" :¬¬ ademas estas usando c++ y c unidos  :xD :¬¬
83  Foros Generales / Foro Libre / Re: Software para Cambiar la Voz en: 18 Noviembre 2011, 06:15 am
Voice Changer Software Diamond
84  Programación / Java / Re: Duda Eventos teclas F1, F2, F3. etc en: 18 Noviembre 2011, 01:38 am
Haber eso no funcionara si cambias el focus a otro componente

usando el KeyEventDispatcher

Código
  1. import java.awt.FlowLayout;
  2. import java.awt.KeyEventDispatcher;
  3. import java.awt.KeyboardFocusManager;
  4. import java.awt.event.*;
  5. import javax.swing.*;
  6. public class Prueba extends JFrame implements ActionListener,KeyEventDispatcher {  
  7. private static final long serialVersionUID = 1L;
  8. JButton botonVentaDeContado;
  9.    public Prueba() {
  10.        setLayout(new FlowLayout());
  11.        botonVentaDeContado=new JButton("Consultar Producto");
  12.        botonVentaDeContado.setBounds(300,250,100,30);
  13.        add(botonVentaDeContado);
  14.        botonVentaDeContado.addActionListener(this);
  15.       KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(this);
  16.    }
  17.    public void actionPerformed(ActionEvent e) {
  18.        if (e.getSource()==botonVentaDeContado) System.exit(0);      
  19.    }
  20.    public static void main(String[] ar) {
  21.        Prueba formulario1=new Prueba();
  22.        formulario1.setBounds(0,0,450,350);
  23.        formulario1.setVisible(true);
  24.    }
  25. @Override
  26. public boolean dispatchKeyEvent(KeyEvent arg0) {
  27. if (arg0.getKeyCode() == KeyEvent.VK_F1) System.exit(0);
  28. return false;
  29. }
  30. }
85  Programación / Java / MOVIDO: Pop up con javascript en: 8 Noviembre 2011, 21:34 pm
El tema ha sido movido a Desarrollo Web.

http://foro.elhacker.net/index.php?topic=344056.0
86  Programación / Java / MOVIDO: Me podeis ayudar ha hacer una piramide en PSEINT? en: 26 Octubre 2011, 13:33 pm
El tema ha sido movido a Programación General.

http://foro.elhacker.net/index.php?topic=342955.0
87  Programación / Java / Re: Loguear en Web y obtener datos en: 23 Octubre 2011, 21:34 pm
usa la libreria httpclient,  luego tendras que obviamente parsear el html para optener los resultados
88  Programación / Programación C/C++ / Re: Programa para generar numeros aleatorios en: 23 Octubre 2011, 19:25 pm
Acaso crees que alguien te hará la tarea? :¬¬
89  Programación / Java / Re: Juego "El ahorcado" con GUI. en: 2 Octubre 2011, 19:47 pm
Al frame colocale como layout el GridLayout(rows, cols) y le colocas 1 flas, 2 columnas, luego creas 2 paneles uno que va a hacer el de la izquierda y el otro va a ser el de la derecha y los agregas,luego al panel de la derecha le seteas el layaut  a GridLayout(4, 1), luego creas 4 paneles que seran para  palabras intentos,letras mensajes y los agregas el panel de la derecha luego le colocas un border a cada panel con BorderFactory.createTitledBorder(title) y seria la misma interfaz ;)
90  Programación / Java / Re: [Tutorial] Keylogger en Java (JNI) en: 14 Septiembre 2011, 17:16 pm
NO tiene que estar en ningun package
Páginas: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ... 79
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines