Changeset 18253

Show
Ignore:
Timestamp:
18.12.2008 14:54:55 (10 years ago)
Author:
cc108
Message:

change the size of confirm button

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/admin/gui/ExtensionInstallation.java

    r18248 r18253  
    172172        JScrollPane scrollPane = new JScrollPane(textPane); 
    173173        mainPane.add(scrollPane,BorderLayout.CENTER); 
     174        JPanel button_pane = new JPanel(new GridLayout(1,3)); 
     175 
     176     
    174177        JButton jbutton = new JButton("ok"); 
     178         
     179        button_pane.add(Box.createRigidArea(new Dimension(18,5))); 
     180        button_pane.add(jbutton); 
     181        button_pane.add(Box.createRigidArea(new Dimension(18,5))); 
     182         
    175183        jbutton.addActionListener(this); 
    176         mainPane.add(jbutton,BorderLayout.SOUTH); 
     184        mainPane.add(button_pane,BorderLayout.SOUTH); 
    177185        frame.getContentPane().add(mainPane, BorderLayout.CENTER); 
    178186        frame.setVisible(true);