-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keep improving the base components of the gui
- Loading branch information
1 parent
1ec2028
commit f844ec0
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ai.nets.samj.gui; | ||
|
||
import javax.swing.JComboBox; | ||
|
||
import ai.nets.samj.gui.components.ComboBoxButtonComp; | ||
import ai.nets.samj.gui.components.ComboBoxItem; | ||
|
||
public class ImageSelection extends ComboBoxButtonComp<ComboBoxItem> { | ||
|
||
|
||
private static final long serialVersionUID = 2478618937640492286L; | ||
|
||
public ImageSelection() { | ||
super(new JComboBox<ComboBoxItem>()); | ||
this.cmbBox.setModel(null); | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package ai.nets.samj.gui; | ||
|
||
import java.util.List; | ||
|
||
import javax.swing.JComboBox; | ||
import javax.swing.JPanel; | ||
|
||
import ai.nets.samj.gui.components.ComboBoxButtonComp; | ||
import io.bioimage.modelrunner.model.Model; | ||
|
||
public class ModelSelection extends ComboBoxButtonComp<String> { | ||
|
||
|
||
private static final long serialVersionUID = 2478618937640492286L; | ||
|
||
public ModelSelection(List<Model> models) { | ||
super(new JComboBox<String>()); | ||
this.cmbBox.setli(null); | ||
|
||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters