List of usage examples for java.awt CardLayout previous
public void previous(Container parent)
From source file:UserInterface.DoctorRole.SendAlertMessage.java
private void backjButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backjButton2ActionPerformed // TODO add your handling code here: container.remove(this); CardLayout layout = (CardLayout) container.getLayout(); layout.previous(container); }
From source file:UserInterface.ReceptionistRole.CallAmbulance.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:userInterface.CustomerWorkArea.ViewSensorHistoryJPanel.java
private void bckJBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bckJBtnActionPerformed userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); // TODO add your handling code here: }
From source file:UserInterface.DoctorRole.ViewDonorReport.java
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:UserInterface.DonorRole.DonorRecordsJPanel.java
private void backJBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJBtnActionPerformed userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:userinterface.AdministratorWorkArea.TopMedicineJPanel.java
private void backJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButtonActionPerformed userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:userInterface.MonitoringTeamRole.AnalysisJPanel.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:drugsupplychain.neu.css.gui.common.pharmaco.ProductDistributionDetailJPanel.java
/** * back button//from w w w .j a v a 2 s.c om * @param evt */ private void backButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backButtonActionPerformed ImplLogger.enterMethod(); userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); ImplLogger.exitMethod(); }
From source file:userInterface.ManufacturerRole.ViewInventoryJPanel.java
private void btnBackActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackActionPerformed userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:Interface.FoodStandardSupervisor.ConsumedWastedJPanel.java
private void btnBack1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBack1ActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }