diff --git a/README.md b/README.md index 628f1c5..52508d2 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,16 @@ Graphical User Interface for HARMs ## Installation 1. Install HARMs Engine at https://github.com/whistlebee/harmat
-2. Download and Run the program from command line + Note: You will need Ubuntu 18.04 for HARMs Engine to work. +2. Choose “releases” + download "harmat-2.0-cp35-cp35m-linux_x86_64.whl" if you using python3.5 + download "harmat-2.0-cp36-cp36m-linux_x86_64.whl" if you using python3.6 +3. Go to the directry where you had download the file, run + $ sudo pip3 install + is which file you have downloaded ```java -git clone https://github.com/Naehyung/HARMs -cd HARMs +git clone https://github.com/quocdat402/HARM_GUI.git +cd HARM_GUI mvn package cd target java -jar HARMs-0.0.1.jar diff --git a/src/com/company/MainView.java b/src/com/company/MainView.java index a914fa9..6df91ba 100644 --- a/src/com/company/MainView.java +++ b/src/com/company/MainView.java @@ -148,7 +148,7 @@ public MainView(MainModel m) { menuPanel = new JPanel(); menuPanel.setLayout(new BoxLayout(menuPanel, BoxLayout.Y_AXIS)); menuPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createRaisedBevelBorder(), "Tools", TitledBorder.CENTER, TitledBorder.TOP)); - menuPanel.setPreferredSize(new Dimension(173, 100)); + menuPanel.setPreferredSize(new Dimension(175, 100)); topPanel.add(menuPanel, BorderLayout.EAST); centerPanel = new MyJPanel(); @@ -179,7 +179,7 @@ public MainView(MainModel m) { btnMetrics.setIcon(resizedMetricsIcon); btnAnalysis.setIcon(resizedAnalysisIcon); - Dimension buttonSize = new Dimension(180, 30); + Dimension buttonSize = new Dimension(136, 30); btnMetrics.setMaximumSize(buttonSize); btnAnalysis.setMaximumSize(buttonSize); @@ -191,7 +191,7 @@ public MainView(MainModel m) { btnAnalysis.setAlignmentY(Component.CENTER_ALIGNMENT); menuPanel.add(btnMetrics); - menuPanel.add(Box.createRigidArea(new Dimension(0, 10))); + menuPanel.add(Box.createRigidArea(new Dimension(0, 8))); menuPanel.add(btnAnalysis); Insets buttonMargin = new Insets(5, 10, 5, 10); diff --git a/target/classes/com/company/MainView.class b/target/classes/com/company/MainView.class index 74a5e10..08020e9 100644 Binary files a/target/classes/com/company/MainView.class and b/target/classes/com/company/MainView.class differ