diff --git a/src/main/java/ai/nets/samj/gui/MainGUI.java b/src/main/java/ai/nets/samj/gui/MainGUI.java index f389e89..637fa80 100644 --- a/src/main/java/ai/nets/samj/gui/MainGUI.java +++ b/src/main/java/ai/nets/samj/gui/MainGUI.java @@ -396,7 +396,7 @@ private JPanel createSecondComponent() { } CustomInsetsJLabel questionMark = new CustomInsetsJLabel(questionIcon, 4, 2, 0, 0); //questionMark.setBorder(LineBorder.createBlackLineBorder()); - questionMark.setToolTipText("Very useful help"); + questionMark.setToolTipText(Constants.HELP_MSG); wrapperBtn.add(questionMark, gbcBtn); gbcBtn.gridx = 0; gbcBtn.fill = GridBagConstraints.BOTH; diff --git a/src/main/java/ai/nets/samj/utils/Constants.java b/src/main/java/ai/nets/samj/utils/Constants.java index 44be64e..9966e2e 100644 --- a/src/main/java/ai/nets/samj/utils/Constants.java +++ b/src/main/java/ai/nets/samj/utils/Constants.java @@ -29,6 +29,13 @@ */ public class Constants { + public static final String HELP_MSG = "" + + "Click to segment all selected prompts at once on the encoded image.

" + + "Prompts can be point or rectangle ROIs on the image or ROI Manager,
" + + "or pixels in an integer mask representing points of interest.

" + + "No prompts on the encoded image, no action." + + ""; + public static final String SAMJ_VERSION = getVersion(); public static final String JAR_NAME = getNAME();