no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@10 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
Frederico Palma 22 years ago
parent 1e9e4642a0
commit 4008ec2d51

@ -10,8 +10,9 @@ import java.awt.*;
import javax.swing.*;
import java.util.*;
import com.evolute.utils.data.*;
import com.evolute.utils.ui.*;
import com.evolute.utils.ui.button.*;
import com.evolute.utils.ui.panel.*;
/**
*
@ -20,7 +21,7 @@ import com.evolute.utils.ui.button.*;
public class TrabalhadorPanel extends JPanel
{
private JTextField nomeText;
private RadioButtonGroup sexoGroup;
private RadioButtonFixedPanel sexoPanel;
private JCalendarPanel dataNascimentoPanel;
private JTextField nacionalidadeText;
private JTextField numeroMecanograficoText;
@ -45,11 +46,11 @@ public class TrabalhadorPanel extends JPanel
JLabel nomeLabel = new JLabel( "Nome" );
nomeText = new JTextField();
JLabel sexoLabel = new JLabel( "Sexo" );
JPanel sexoPanel = new JPanel();
sexoGroup =
new RadioButtonGroup( sexoPanel,
new Vector( Arrays.asList( new String[]{ "M", "F" } ) ),
false );
sexoPanel =
new RadioButtonFixedPanel(
new IDObject[]{ new MappableObject( new Integer( 1 ), "M" ),
new MappableObject( new Integer( 2 ), "F" ) },
1, 2, RadioButtonPanel.ORIENTATION_HORIZONTAL, false );
JLabel dataNascimentoLabel = new JLabel( "Data de Nascimento" );
dataNascimentoPanel = new JCalendarPanel( null );
JLabel nacionalidadeLabel = new JLabel( "Nacionalidade" );

Loading…
Cancel
Save