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:UserInterface.AdminWorkArea.InventoryUsageJPanel.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.SupplierRole.ProductSalesReviewJPanel.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:User.Interface.SupplierAdminRole.ReviewSalesJPanel.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.ViewChartJPanel.java

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

From source file:UserInterface.AdministrativeRole.FeedBackJPanel.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.PublisherRole.ViewUserHabitsJPanel.java

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

From source file:UserInterface.CustomerRole.ViewProfileJPanel.java

private void backBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backBtnActionPerformed
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);
}

From source file:userinterface.CountryNetworkAdminRole.CountryReportsJPanel.java

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);
}

From source file:userinterface.AdminRole.DataAnalysisJPanel.java

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

From source file:userinterface.PatientRole.PatientLikeMeJPanel.java

private void btnBackUAActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackUAActionPerformed
    //muajp.refreshTable();
    userProcessContainer.remove(this);
    CardLayout layout = (CardLayout) userProcessContainer.getLayout();
    layout.previous(userProcessContainer);

}