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/gems/DeleteMetadataSetPrompt.java

    r12679 r18412  
    7272    public DeleteMetadataSetPrompt(Frame parent,MetadataSetManager msm) {
    7373    super(parent, true);
    74 
    7574        self = this;
    7675    meta_manager = msm;
     
    8281    JPanel content_pane = (JPanel) getContentPane();
    8382        content_pane.setOpaque(true);
    84    
     83    content_pane.setComponentOrientation(Dictionary.getOrientation());
    8584
    8685    JLabel available_metadata_sets_label = new JLabel(Dictionary.get("GEMS.DeleteMetadataSetPrompt.Available_Sets"));
    8786    available_metadata_sets_label.setOpaque(true);
     87        available_metadata_sets_label.setComponentOrientation(Dictionary.getOrientation());
    8888   
    8989    list_model = new DefaultListModel();
     
    9595    available_set_list.setFixedCellHeight(20);
    9696    available_set_list.addListSelectionListener(new MetadataSetListSelectionListener());
    97 
     97        available_set_list.setComponentOrientation(Dictionary.getOrientation());
     98       
    9899    JPanel set_pane = new JPanel();
     100        set_pane.setComponentOrientation(Dictionary.getOrientation());
    99101        set_pane.setLayout(new BorderLayout());
    100102        set_pane.add(available_metadata_sets_label,BorderLayout.NORTH);
     
    110112        description_textarea.setLineWrap(true);
    111113        description_textarea.setWrapStyleWord(true);
    112    
     114    description_textarea.setComponentOrientation(Dictionary.getOrientation());
     115       
    113116    JPanel des_pane = new JPanel();
     117        des_pane.setComponentOrientation(Dictionary.getOrientation());
    114118        des_pane.setLayout(new BorderLayout());
    115119        des_pane.add(metadata_set_des_label,BorderLayout.NORTH);
     
    117121   
    118122    JPanel button_pane = new JPanel();
     123        button_pane.setComponentOrientation(Dictionary.getOrientation());
    119124    delete_button = new GLIButton(Dictionary.get("GEMS.DeleteMetadataSetPrompt.Delete"), Dictionary.get("GEMS.DeleteMetadataSetPrompt.Delete_Tooltip"));
    120125    delete_button.setEnabled(false);
     
    124129    confirmation.setEnabled(false);
    125130    confirmation.setSelected(false);
    126 
     131        confirmation.setComponentOrientation(Dictionary.getOrientation());
     132       
    127133    close_button = new GLIButton(Dictionary.get("General.Close"), Dictionary.get("General.Close_Tooltip"));
    128134    close_button.setEnabled(true);
     
    151157
    152158        JPanel bottom_pane = new JPanel();
     159        bottom_pane.setComponentOrientation(Dictionary.getOrientation());
    153160        bottom_pane.setLayout(new BorderLayout());
    154161    bottom_pane.add(confirmation,BorderLayout.NORTH);
     
    212219    public MetadatSetListCellRenderer() {
    213220        setOpaque(true);
     221            this.setComponentOrientation(Dictionary.getOrientation());
    214222    }
    215223   
Note: See TracChangeset for help on using the changeset viewer.