Example usage for java.awt CardLayout previous

List of usage examples for java.awt CardLayout previous

Introduction

In this page you can find the example usage for java.awt CardLayout previous.

Prototype

public void previous(Container parent) 

Source Link

Document

Flips to the previous card of the specified container.

Usage

From source file:Interface.FoodCollectionSupervisor.TotalFoodDonation.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);
}

From source file:UserInterface.CDC.VaccineCityDistributionJPanel.java

private void backJButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButton3ActionPerformed
    // TODO add your handling code here:
    workContainer.remove(this);
    CardLayout layout = (CardLayout) workContainer.getLayout();
    layout.previous(workContainer);
}

From source file:UserInterface.CDC.VARESCityReportingJPanel.java

private void backJButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButton5ActionPerformed
    // TODO add your handling code here:
    workContainer.remove(this);
    CardLayout layout = (CardLayout) workContainer.getLayout();
    layout.previous(workContainer);
}

From source file:userinterface.AdministratorWorkArea.PopularDoctorJPanel.java

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
    // TODO add your handling code here:

    userProcessContainer.remove(this);
    CardLayout cardLayout = (CardLayout) userProcessContainer.getLayout();
    cardLayout.previous(userProcessContainer);
}

From source file:userinterface.PatientRole.PatientAppointmentsJPanel.java

private void backJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButtonActionPerformed
    userProcessContainer.remove(this);
    /*Component[] componentArray = userProcessContainer.getComponents();
    Component component = componentArray[componentArray.length - 1];
    PatientWorkAreaJPanel pwajp = (PatientWorkAreaJPanel) component;
    pwajp.populateVStable();//from w  ww  .jav  a2 s.  co m
    pwajp.populateWorkReqTable();
    pwajp.populateAppointments();*/
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);
}

From source file:UserInterface.Supplier.SalesOverviewJPanel.java

private void backJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButtonActionPerformed

    upc.remove(this);
    CardLayout layout = (CardLayout) upc.getLayout();
    layout.previous(upc);
}

From source file:UserInterface.AdministrativeRole.RequestAnalysis.java

private void backjButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backjButton1ActionPerformed
    // TODO add your handling code here:
    container.remove(this);
    CardLayout layout = (CardLayout) container.getLayout();
    layout.previous(container);
}

From source file:UserInterface.CommunityRuralHouseholdWorkArea.ShowChartJPanel.java

private void backJButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButton3ActionPerformed
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer); // TODO add your handling code here:
}

From source file:Interface.CommunityAdminWorkArea.BestCitizen.java

private void btnBackActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackActionPerformed
    // TODO add your handling code here:
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);
}

From source file:UserInterface.SupplierRole.ProductReportJPanel.java

private void backButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backButton4ActionPerformed
    // TODO add your handling code here:
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);
}