Contardor de palabras y vocales

Páginas: 4 (946 palabras) Publicado: 8 de mayo de 2011
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

/*
* TextoForm.java
*
* Created on 04/29/2011, 11:43:51 AM
*
* Programa quecaptura un area de texto y determina la cantidad
* de palabras, la cantidad de vocales y la cantidad de consonantes
* y toma en cuenta las vocales acentuadas
*/

package vocalesypalabras;

importjava.util.StringTokenizer;

/**
*
* @author Salvador Guzman y Carlos Escalante
*/
public class TextoForm extends javax.swing.JApplet {

/** Initializes the applet TextoForm */@Override
public void init() {
try {
java.awt.EventQueue.invokeAndWait(new Runnable() {
public void run() {
initComponents();}
});
} catch (Exception ex) {
}
}

/** This method is called from within the init() method to
* initialize the form.
* WARNING: Do NOTmodify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
//
private voidinitComponents() {

jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jScrollPane2 = new javax.swing.JScrollPane();
txtAreaTexto =new javax.swing.JTextArea();
jLabel1 = new javax.swing.JLabel();
txtCantidadPalabras = new javax.swing.JTextField();
txtVocalA = new javax.swing.JTextField();jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
txtVocalE = new javax.swing.JTextField();
txtVocalI = new javax.swing.JTextField();
txtVocalO =new javax.swing.JTextField();
txtVocalU = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Codigo vb que calcula el número de vocales en una palabra
  • Muestreo de palabras para contar sus vocales
  • vocales
  • Vocales
  • Las Vocales
  • Las vocales
  • vocales
  • Vocaloid

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS