|
|
|
|
@ -47,6 +47,7 @@ public class ExamePanel extends JPanel
|
|
|
|
|
// private JRadioButton outroRadio;
|
|
|
|
|
private RadioButtonFixedPanel ocasionalPanel;
|
|
|
|
|
private JTextField especificarText;
|
|
|
|
|
private RadioButtonFixedPanel tipoProximoPanel;
|
|
|
|
|
private JCalendarPanel proximoExamePanel;
|
|
|
|
|
private RadioButtonFixedPanel resultadoPanel;
|
|
|
|
|
private JTextField outrasFuncoesTexts[];
|
|
|
|
|
@ -107,8 +108,15 @@ public class ExamePanel extends JPanel
|
|
|
|
|
especificarText = new JTextField();
|
|
|
|
|
especificarText.setEnabled( false );
|
|
|
|
|
JPanel proximoExameOuterPanel = new JPanel();
|
|
|
|
|
JLabel proximoExameLabel = new JLabel( "Pr\u00f3ximo Exame" );
|
|
|
|
|
proximoExameOuterPanel.setBorder( BorderFactory.createTitledBorder(
|
|
|
|
|
BorderFactory.createEtchedBorder(), "Pr\u00f3ximo Exame" ) );
|
|
|
|
|
proximoExamePanel = new JCalendarPanel( null );
|
|
|
|
|
tipoProximoPanel = new RadioButtonFixedPanel(
|
|
|
|
|
new IDObject[]{ new MappableObject( new Integer( 2 ), "Peri\u00f3dico" ),
|
|
|
|
|
new MappableObject( new Integer( 3 ), "Ocasional" ) },
|
|
|
|
|
RadioButtonFixedPanel.ORIENTATION_HORIZONTAL, 1, 2, false );
|
|
|
|
|
// JLabel proximoExameLabel = new JLabel( "Pr\u00f3ximo Exame" );
|
|
|
|
|
|
|
|
|
|
JPanel resultadoOuterPanel = new JPanel();
|
|
|
|
|
resultadoOuterPanel.setBorder( BorderFactory.createTitledBorder(
|
|
|
|
|
BorderFactory.createEtchedBorder(), "Resultado" ) );
|
|
|
|
|
@ -151,8 +159,9 @@ public class ExamePanel extends JPanel
|
|
|
|
|
leftPanel.add( dataExameOuterPanel, BorderLayout.NORTH );
|
|
|
|
|
leftPanel.add( tipoPanel, BorderLayout.CENTER );
|
|
|
|
|
proximoExameOuterPanel.setLayout( new BorderLayout() );
|
|
|
|
|
proximoExameOuterPanel.add( proximoExameLabel, BorderLayout.WEST );
|
|
|
|
|
// proximoExameOuterPanel.add( proximoExameLabel, BorderLayout.WEST );
|
|
|
|
|
proximoExameOuterPanel.add( proximoExamePanel, BorderLayout.CENTER );
|
|
|
|
|
proximoExameOuterPanel.add( tipoProximoPanel, BorderLayout.SOUTH );
|
|
|
|
|
if( ( ( Boolean ) Singleton.getInstance( SingletonConstants.FICHA_MARCA_EXAMES ) ).booleanValue() )
|
|
|
|
|
{
|
|
|
|
|
leftPanel.add( proximoExameOuterPanel, BorderLayout.SOUTH );
|
|
|
|
|
|