Ignore:
Timestamp:
2009-01-22T11:04:31+13:00 (15 years ago)
Author:
kjdon
Message:

more modifications for RTL GLI, thanks to Amin Hedjazi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/ModalDialog.java

    r8480 r18412  
    3030import javax.swing.*;
    3131import org.greenstone.gatherer.DebugStream;
     32import org.greenstone.gatherer.Dictionary;
    3233
    3334
     
    5253    public ModalDialog() {
    5354    super((Frame)null, "", false);
     55        this.setComponentOrientation(Dictionary.getOrientation());
    5456    }
    5557
     
    5961    public ModalDialog(Dialog parent) {
    6062    super(parent, "", false);
     63        this.setComponentOrientation(Dictionary.getOrientation());
    6164    }
    6265
     
    6770    public ModalDialog(Dialog parent, boolean modal) {
    6871    super(parent, "", false);
     72        this.setComponentOrientation(Dictionary.getOrientation());
    6973    this.modal = modal;
    7074    }
     
    7680    public ModalDialog(Dialog parent, String title) {
    7781    super (parent, title, false);
     82        this.setComponentOrientation(Dictionary.getOrientation());
    7883    this.modal = false;
    7984    }
     
    8691    public ModalDialog(Dialog parent, String title, boolean modal) {
    8792    super (parent, title, false);
     93        this.setComponentOrientation(Dictionary.getOrientation());
    8894    this.modal = modal;
    8995    }
     
    94100    public ModalDialog(Frame parent) {
    95101    super(parent, "", false);
     102        this.setComponentOrientation(Dictionary.getOrientation());
    96103    }
    97104
     
    102109    public ModalDialog(Frame parent, boolean modal) {
    103110    super(parent, "", false);
     111        this.setComponentOrientation(Dictionary.getOrientation());
    104112    this.modal = modal;
    105113    }
     
    111119    public ModalDialog(Frame parent, String title) {
    112120    super (parent, title, false);
     121        this.setComponentOrientation(Dictionary.getOrientation());
    113122    }
    114123
     
    121130    super (parent, title, false);
    122131    this.modal = modal;
     132        this.setComponentOrientation(Dictionary.getOrientation());
    123133    }
    124134
Note: See TracChangeset for help on using the changeset viewer.