git-svn-id: https://svn.coded.pt/svn/SIPRP@1085 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 16 years ago
parent 2ad04fde3e
commit a853fca4d6

@ -25,6 +25,8 @@ import siprp.database.cayenne.objects.HsRelatorioPostoRisco;
import siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo; import siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo;
import siprp.logic.HigieneSegurancaLogic; import siprp.logic.HigieneSegurancaLogic;
import com.evolute.utils.documents.IntegerDocument;
public class GerirValoresRiscoPanel extends JPanel implements ActionListener, CaretListener public class GerirValoresRiscoPanel extends JPanel implements ActionListener, CaretListener
{ {
@ -92,7 +94,9 @@ public class GerirValoresRiscoPanel extends JPanel implements ActionListener, Ca
private void startupComponents() private void startupComponents()
{ {
textSeveridade.setPreferredSize( new Dimension( 30, 0 ) ); textSeveridade.setPreferredSize( new Dimension( 30, 0 ) );
textSeveridade.setDocument( new IntegerDocument( 1, false ) );
textProbabilidade.setPreferredSize( new Dimension( 30, 0 ) ); textProbabilidade.setPreferredSize( new Dimension( 30, 0 ) );
textProbabilidade.setDocument( new IntegerDocument( 1, false ) );
buttonSave.setEnabled( false ); buttonSave.setEnabled( false );
buttonRevert.setEnabled( false ); buttonRevert.setEnabled( false );
bg.add( radioValorQualitativo ); bg.add( radioValorQualitativo );

Loading…
Cancel
Save