@ -43,8 +43,6 @@ public class FvsGuidePane extends JPanel {
private static final Color BORDER_COLOR = new Color ( 255 , 229 , 143 ) ;
private static final Icon TIP_ICON = UIManager . getIcon ( "OptionPane.circularWarningIcon" ) ;
private static final Icon CLOSE_ICON = IconUtils . readIcon ( "/com/fr/design/standard/close/close" ) ;
// 引导URL
private static final String GUIDE_URL = "https://help.fanruan.com/finereport/doc-view-4222.html?source=3" ;
private static final int MAX_PANE_HEIGHT = 80 ;
private static final int MAX_CONTENT_HEIGHT = 60 ;
private static final int LINE_HEIGHT = 20 ;
@ -168,6 +166,10 @@ public class FvsGuidePane extends JPanel {
return Toolkit . i18nText ( "Fine-Design_Form_Guide_Use_Fvs_Link_Tips" ) ;
}
private String guideUrl ( ) {
return Toolkit . i18nText ( "Fine-Design_Form_Guide_Use_Fvs_Link_Url" ) ;
}
private void close ( ActionEvent e ) {
parent . remove ( this ) ;
parent . revalidate ( ) ;
@ -234,7 +236,7 @@ public class FvsGuidePane extends JPanel {
htmlBuilder . append ( chars [ i ] ) ;
}
}
htmlBuilder . append ( "<a href=\"" ) . append ( GUIDE_URL ) . append ( "\">" ) . append ( linkContent ) . append ( "</a></div>" ) ;
htmlBuilder . append ( "<a href=\"" ) . append ( guideUrl ( ) ) . append ( "\">" ) . append ( linkContent ) . append ( "</a></div>" ) ;
return htmlBuilder . toString ( ) ;
}