Advertisement
franciscominajas

Untitled

Mar 1st, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.50 KB | None | 0 0
  1. public final void colocacionPanel2(String a)
  2.     {
  3.         if(a.equals("000000100001"))
  4.         {
  5.             DibujarPie3(1);
  6.             DibujarPie2(1);
  7.             texto.setText("PIE CABO 2° GRADO");
  8.         }
  9.         else if(a.equals("000000111001"))
  10.         {
  11.             DibujarPie3(2);
  12.             DibujarPie2(2);
  13.             texto.setText("PIE CABO 3° GRADO");
  14.         }
  15.         else if(a.equals("000011111111"))
  16.         {
  17.             DibujarPie3(3);
  18.             DibujarPie2(3);
  19.             texto.setText("PIE EQUINO");
  20.         }
  21.         else if(a.equals("000000000001"))
  22.         {
  23.             DibujarPie3(4);
  24.             DibujarPie2(4);
  25.             texto.setText("PIE NORMAL");
  26.         }
  27.         else if(a.equals("000000000000"))
  28.         {
  29.             DibujarPie3(5);
  30.             DibujarPie2(5);
  31.             texto.setText("PIE PLANO 3° GRADO");
  32.         }
  33.         else if(a.equals("111111111001"))
  34.         {
  35.             DibujarPie3(6);
  36.             DibujarPie2(6);
  37.             texto.setText("PIE TALOO");
  38.         }
  39.         else if(a.equals("111110111101"))
  40.         {
  41.             DibujarPie3(8);
  42.             DibujarPie2(8);
  43.             texto.setText("PIE ZAMBO");
  44.         }
  45.         else if(a.equals("000011111001"))
  46.         {
  47.             DibujarPie3(7);
  48.             DibujarPie2(7);
  49.             texto.setText("PIE VALGO");
  50.         }
  51.         else
  52.         {
  53.             DibujarPie3(9);
  54.             DibujarPie2(9);
  55.             texto.setText("PIE DESCONOCIDO");
  56.         }
  57.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement