List of usage examples for java.awt CardLayout previous
public void previous(Container parent)
From source file:Interface.Caruser.Pendingrequest.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed container.remove(this); CardLayout layout = (CardLayout) container.getLayout(); layout.previous(container); }
From source file:UserInterface.WaterSupplyAdmin.UsagePatternJPanel.java
private void backJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backJButtonActionPerformed container.remove(this); CardLayout layout = (CardLayout) container.getLayout(); layout.previous(container); }
From source file:userinterface.EnvironmentRole.PollutionCheckJPanel.java
private void btnBackActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackActionPerformed userProcessContainer.remove(this); Component[] componentArray = userProcessContainer.getComponents(); Component component = componentArray[componentArray.length - 1]; CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:UserInterface.AuthorityWorkArea.DrugAnalysisJPanel.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:GUI.Starts.java
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed CardLayout cardLayout = (CardLayout) (jPanel2.getLayout()); cardLayout.previous(jPanel2); }
From source file:UserInterface.DoctorAdmin.TakeRequestJPanel.java
private void btnBack2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBack2ActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:UserInterfaces.HAdministration.ReportDataJPanel.java
private void backjButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backjButton1ActionPerformed // TODO add your handling code here: container.remove(this); CardLayout cl = (CardLayout) container.getLayout(); cl.previous(container); }
From source file:UserInterface.AdministrativeRole.ReportsJPanel.java
private void backBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backBtnActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout layout = (CardLayout) userProcessContainer.getLayout(); layout.previous(userProcessContainer); }
From source file:com.neu.css.view.ViewPatientDetailsJPanel.java
private void backButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backButtonActionPerformed // TODO add your handling code here: userProcessContainer.remove(this); CardLayout cardLayout = (CardLayout) userProcessContainer.getLayout(); cardLayout.previous(userProcessContainer); }
From source file:UserInterface.ViewPersonDetails.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); }