*/
public class UfGUI {
public static void main(String[] args){
Uf uf = new Uf("PE", "PERNAMBUCO", 1);
try {
Fachada.getInstance().getUfControle().salvarUf(uf);
JOptionPane.showMessageDialog(null, "Uf alterada com sucesso!");
Uf uf2 = Fachada.getInstance().getUfControle().pesquisarUfPorCodigo(1);
System.out.print(uf2.getNome());
} catch (Exception ex) {
Logger.getLogger(UfGUI.class.getName()).log(Level.SEVERE, null, ex);
}