Ignore:
Timestamp:
2008-12-26T14:35:15+13:00 (15 years ago)
Author:
kjdon
Message:

interface updated to display right to left for rtl languages. This code is thanks to Amin Hejazi. It seems to be only partially complete. Amin was working with Greenstone 3 so might have missed some panels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/branches/rtl-gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditFrame.java

    r13531 r18297  
    102102    {
    103103    super(Gatherer.g_man);
    104 
     104       
    105105    // Arguments
    106106    this.autofilter_dialog = new AutofilterDialog(this);
    107107    this.self = this;
    108108    this.table = new MetaAuditTable(this);
    109 
     109        this.setComponentOrientation(Dictionary.getOrientation());
    110110    // Creation
    111111    setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE);
     
    115115   
    116116    JPanel content_pane = (JPanel) getContentPane();
     117        content_pane.setComponentOrientation(Dictionary.getOrientation());
    117118    JPanel button_pane = new JPanel();
    118 
     119        button_pane.setComponentOrientation(Dictionary.getOrientation());
     120       
    119121    JButton close_button = new GLIButton(Dictionary.get("MetaAudit.Close"), Dictionary.get("MetaAudit.Close_Tooltip"));
    120122   
Note: See TracChangeset for help on using the changeset viewer.