Uso de CheckBox, ComboBox y Radio Button en Java NetBeans

Sdílet
Vložit
  • čas přidán 18. 05. 2020
  • Les traigo un nuevo programa "Uso de CheckBox, ComboBox y Radio Button en Java NetBeans!!!"
    ¿Cómo puedes ayudarme?
    COMENTA, COMPARTE Y SUSCRIBETE A MI CANAL PARA MÁS CONTENIDO GRATIS!!!!
    pagina de facebook:
    / solojava
    Grupo de Facebook:
    groups/solojavaymysql/
    Donativos:
    www.paypal.com/donate?hosted_...
  • Věda a technologie

Komentáře • 8

  • @SoloJavayMysql
    @SoloJavayMysql  Před 4 lety +5

    Les traigo un nuevo programa "Uso de CheckBox, ComboBox y Radio Button en Java NetBeans!!!"
    ¿Cómo puedes ayudarme?
    COMENTA, COMPARTE Y SUSCRIBETE A MI CANAL PARA MÁS CONTENIDO GRATIS!!!!
    pagina de facebook:
    facebook.com/solojava/

    • @Yotsuba-Nakano
      @Yotsuba-Nakano Před 3 lety +1

      Si donde esta ese condigo me podrías decir por favor

  • @ricardomedina9267
    @ricardomedina9267 Před rokem

    Muchas gracias Profe! genial su tutorial!!

  • @luisjhonatangonzales4223

    te sigo

  • @andrescarranza7685
    @andrescarranza7685 Před 2 lety +1

    hola, disculpa por alguna razon la funcion append no existe y no me funciona, no me deja concatenar

    • @Choriwonca
      @Choriwonca Před 8 měsíci

      The append() method is available in the StringBuilder class, but not in the JTextArea class. To concatenate strings in JTextArea, you can use the setText() method.
      Here is a modified version of your Semestre() method that uses setText() to concatenate the semester number to the text area:
      java
      public void Semestre(){
      // Check which radio button is selected
      if(Radio1.isSelected()){
      // Set the text of the text area to "Semestre: N°1"
      TxtArea1.setText("
      Semestre: " + "N°1");
      } else if(Radio2.isSelected()){
      // Set the text of the text area to "Semestre: N°2"
      TxtArea1.setText("
      Semestre: " + "N°2");
      } else if(Radio3.isSelected()){
      // Set the text of the text area to "Semestre: N°3"
      TxtArea1.setText("
      Semestre: " + "N°3");
      } else if(Radio4.isSelected()){
      // Set the text of the text area to "Semestre: N°4"
      TxtArea1.setText("
      Semestre: " + "N°4");
      } else if(Radio5.isSelected()){
      // Set the text of the text area to "Semestre: N°5"
      TxtArea1.setText("
      Semestre: " + "N°5");
      } else if(Radio6.isSelected()){
      // Set the text of the text area to "Semestre: N°6"
      TxtArea1.setText("
      Semestre: " + "N°6");
      }
      }
      This modified method should work as expected.

  • @sebastiangascatorres980
    @sebastiangascatorres980 Před 3 lety +2

    Da error

  • @bradflores8479
    @bradflores8479 Před 3 lety +2

    Amigo cuantos años tienes?
    ^v^