Skip to content

Commit

Permalink
more improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 22, 2024
1 parent 9902900 commit 0654c42
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/java/ai/nets/samj/gui/MainGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class MainGUI extends JFrame {
private JButton export = new JButton("Export...");
private final ModelSelection cmbModels;
private final ImageSelection cmbImages;
private ModelDrawerPanel drawerPanel = ModelDrawerPanel.create(DRAWER_HORIZONTAL_SIZE);
private ModelDrawerPanel drawerPanel;

private static double HEADER_VERTICAL_RATIO = 0.1;

Expand Down Expand Up @@ -78,6 +78,9 @@ public MainGUI(List<SAMModel> modelList, ConsumerInterface consumer) {
if (modelList == null) this.modelList = DEFAULT_MODEL_LIST;
else this.modelList = modelList;
cmbModels = ModelSelection.create(this.modelList);


drawerPanel = ModelDrawerPanel.create(DRAWER_HORIZONTAL_SIZE, this.modelDrawerListener);

setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Expand Down Expand Up @@ -422,6 +425,12 @@ public void setGUIEnabled(boolean enabled) {
// TODO Auto-generated method stub

}

@Override
public void setGUIModelInstalled(boolean installed) {
// TODO Auto-generated method stub

}
};
}

Expand Down

0 comments on commit 0654c42

Please sign in to comment.