I just trying hide button through relfection
Class userClass = Class.forName("vistas.RegistroPersonal");
Field f = userClass.getDeclaredField("btneliminar");
f.setAccessible(true);
f.setVisible(false);
Please help.
Is this possible?.
Aucun commentaire:
Enregistrer un commentaire