Skip to content

Commit

Permalink
add version and update
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed May 9, 2024
1 parent 7e0ea3c commit b4f9330
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions src/main/java/ai/nets/samj/gui/Constants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*-
* #%L
* Library to call models of the family of SAM (Segment Anything Model) from Java
* %%
* Copyright (C) 2024 SAMJ developers.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package ai.nets.samj.gui;

/**
* Constants for the SAMJ plugin, such as the version and others
* @author Carlos Garcia Lopez de Haro
*/
public class Constants {

public static final String VERSION = "0.0.1";

}
2 changes: 1 addition & 1 deletion src/main/java/ai/nets/samj/gui/SAMJDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class SAMJDialog extends JPanel implements ActionListener, PopupMenuListe
/**
* Text field containing copyrigth info
*/
private JTextField txtStatus = new JTextField("(c) SAMJ team 2024 - EARLY RELEASE");
private JTextField txtStatus = new JTextField("(c) SAMJ team 2024 - " + Constants.VERSION);
/**
* Button that activates the annotation with SAMJ models using bounding box prompts
*/
Expand Down

0 comments on commit b4f9330

Please sign in to comment.