Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes on GUI layout

  • Loading branch information...
commit e6088b2b42b2da97e1295755102849681318327f 1 parent 255255e
Acerbic authored
Showing with 22 additions and 22 deletions.
  1. +22 −22 src/dloader/GUI.java
View
44 src/dloader/GUI.java
@@ -141,37 +141,37 @@ public void actionPerformed(ActionEvent e) {
JScrollPane scrollPane = new JScrollPane();
SpringLayout sl_panel = new SpringLayout();
- sl_panel.putConstraint(SpringLayout.WEST, textFieldURL, 10, SpringLayout.EAST, lblNewLabel_1);
- sl_panel.putConstraint(SpringLayout.WEST, textFieldDirectory, 10, SpringLayout.EAST, lblNewLabel_1);
+ sl_panel.putConstraint(SpringLayout.NORTH, scrollPane, 10, SpringLayout.SOUTH, btnFetch);
+ sl_panel.putConstraint(SpringLayout.NORTH, lblStatus, 2, SpringLayout.NORTH, btnFetch);
+ sl_panel.putConstraint(SpringLayout.WEST, lblStatus, 6, SpringLayout.EAST, btnUpdate);
sl_panel.putConstraint(SpringLayout.EAST, lblStatus, -10, SpringLayout.EAST, panel);
+ sl_panel.putConstraint(SpringLayout.NORTH, chckbxLog, 10, SpringLayout.SOUTH, textFieldDirectory);
+ sl_panel.putConstraint(SpringLayout.NORTH, chckbxUseCache, 10, SpringLayout.SOUTH, textFieldDirectory);
+ sl_panel.putConstraint(SpringLayout.EAST, chckbxUseCache, -10, SpringLayout.EAST, panel);
sl_panel.putConstraint(SpringLayout.EAST, chckbxLog, 0, SpringLayout.WEST, chckbxUseCache);
+ sl_panel.putConstraint(SpringLayout.NORTH, btnUpdate, 0, SpringLayout.NORTH, btnFetch);
+ sl_panel.putConstraint(SpringLayout.WEST, btnUpdate, 6, SpringLayout.EAST, btnFix);
+ sl_panel.putConstraint(SpringLayout.NORTH, btnFix, 0, SpringLayout.NORTH, btnFetch);
+ sl_panel.putConstraint(SpringLayout.WEST, btnFix, 6, SpringLayout.EAST, btnFetch);
+ sl_panel.putConstraint(SpringLayout.NORTH, btnFetch, 6, SpringLayout.SOUTH, btnRetag);
+ sl_panel.putConstraint(SpringLayout.WEST, btnFetch, 0, SpringLayout.WEST, scrollPane);
+ sl_panel.putConstraint(SpringLayout.EAST, btnFetch, 78, SpringLayout.WEST, panel);
+ sl_panel.putConstraint(SpringLayout.NORTH, btnRetag, 10, SpringLayout.SOUTH, lblNewLabel_1);
+ sl_panel.putConstraint(SpringLayout.NORTH, textFieldDirectory, -2, SpringLayout.NORTH, lblNewLabel_1);
+ sl_panel.putConstraint(SpringLayout.NORTH, lblNewLabel_1, 15, SpringLayout.SOUTH, lblNewLabel);
+ sl_panel.putConstraint(SpringLayout.WEST, textFieldURL, 35, SpringLayout.EAST, lblNewLabel);
+ sl_panel.putConstraint(SpringLayout.EAST, textFieldURL, -6, SpringLayout.WEST, btnPrefetch);
+ sl_panel.putConstraint(SpringLayout.NORTH, btnPrefetch, -5, SpringLayout.NORTH, lblNewLabel);
+ sl_panel.putConstraint(SpringLayout.EAST, btnPrefetch, 0, SpringLayout.EAST, scrollPane);
+ sl_panel.putConstraint(SpringLayout.NORTH, textFieldURL, -2, SpringLayout.NORTH, lblNewLabel);
+ sl_panel.putConstraint(SpringLayout.WEST, textFieldDirectory, 115, SpringLayout.WEST, panel);
sl_panel.putConstraint(SpringLayout.EAST, textFieldDirectory, -10, SpringLayout.EAST, panel);
- sl_panel.putConstraint(SpringLayout.EAST, btnPrefetch, -10, SpringLayout.EAST, panel);
- sl_panel.putConstraint(SpringLayout.EAST, chckbxUseCache, -10, SpringLayout.EAST, panel);
sl_panel.putConstraint(SpringLayout.SOUTH, scrollPane, -10, SpringLayout.SOUTH, panel);
sl_panel.putConstraint(SpringLayout.EAST, scrollPane, -10, SpringLayout.EAST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, btnPrefetch, 14, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.EAST, textFieldURL, -6, SpringLayout.WEST, btnPrefetch);
- sl_panel.putConstraint(SpringLayout.NORTH, textFieldURL, 15, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, textFieldDirectory, 48, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, chckbxUseCache, 70, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, chckbxLog, 70, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, lblStatus, 100, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.WEST, lblStatus, 214, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, btnUpdate, 103, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.WEST, btnUpdate, 137, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, btnFix, 103, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.WEST, btnFix, 84, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, btnFetch, 103, SpringLayout.NORTH, panel);
- sl_panel.putConstraint(SpringLayout.WEST, btnFetch, 10, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.EAST, btnFetch, 78, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, btnRetag, 71, SpringLayout.NORTH, panel);
sl_panel.putConstraint(SpringLayout.WEST, btnRetag, 10, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, lblNewLabel_1, 51, SpringLayout.NORTH, panel);
sl_panel.putConstraint(SpringLayout.WEST, lblNewLabel_1, 10, SpringLayout.WEST, panel);
sl_panel.putConstraint(SpringLayout.NORTH, lblNewLabel, 18, SpringLayout.NORTH, panel);
sl_panel.putConstraint(SpringLayout.WEST, lblNewLabel, 10, SpringLayout.WEST, panel);
- sl_panel.putConstraint(SpringLayout.NORTH, scrollPane, 144, SpringLayout.NORTH, panel);
sl_panel.putConstraint(SpringLayout.WEST, scrollPane, 10, SpringLayout.WEST, panel);
panel.setLayout(sl_panel);
Please sign in to comment.
Something went wrong with that request. Please try again.