diff --git a/trunk/siprp/Main.java b/trunk/siprp/Main.java index 9e5fa8e3..bc9da0f7 100644 --- a/trunk/siprp/Main.java +++ b/trunk/siprp/Main.java @@ -30,7 +30,7 @@ public class Main String server = System.getProperty( "server.address" ); if( server == null ) { - server = "localhost"; + server = "ws_fpalma"; } String dbase = "siprp"; String user = "root"; @@ -45,9 +45,9 @@ public class Main new DBStatementExecuter( dbm.getSharedExecuter() ) ); } FichaWindow window = new FichaWindow(); -// window.setLogo( new ImageIcon( -// new Main().getClass().getClassLoader().getResource( "logo/logo_w400.png" ) -// ).getImage() ); + window.setLogo( new ImageIcon( + new Main().getClass().getClassLoader().getResource( "logo/logo_w400.png" ) + ).getImage() ); window.show(); } } \ No newline at end of file diff --git a/trunk/siprp/ficha/TrabalhadorPanel.java b/trunk/siprp/ficha/TrabalhadorPanel.java index 6da2de35..7ccf5c32 100644 --- a/trunk/siprp/ficha/TrabalhadorPanel.java +++ b/trunk/siprp/ficha/TrabalhadorPanel.java @@ -221,7 +221,7 @@ public class TrabalhadorPanel extends JPanel public Object save() { Integer id = (Integer)sexoPanel.save(); - if( id != null && id.intValue() == 2 ) + if( id != null && id.intValue() == 1 ) { return "m"; }