home *** CD-ROM | disk | FTP | other *** search
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- final class ListPanel$3 implements ActionListener {
- // $FF: synthetic field
- private final ListPanel this$0;
-
- public void actionPerformed(ActionEvent var1) {
- int var2 = this.this$0.listBox.getMinSelectionIndex();
- int var3 = this.this$0.listBox.getMaxSelectionIndex();
- if (var2 >= 0) {
- for(int var4 = var2; var4 <= var3; ++var4) {
- Integer var5 = (Integer)this.this$0.model.getElementAt(var4);
- ListPanel var10000 = this.this$0;
- var10000.listPrice += this.this$0.price[var5];
- }
-
- this.this$0.priceLabel.setText("Total: $" + (double)this.this$0.listPrice / (double)100.0F);
- this.this$0.priceLabel.repaint();
- }
- }
-
- // $FF: synthetic method
- ListPanel$3(ListPanel var1) {
- this.this$0 = var1;
- }
- }
-