Browse Source

INO-21074 关于

persist/11.0-arabic^2
obo 8 months ago
parent
commit
f0e38d4621
  1. 7
      designer-realize/src/main/java/com/fr/design/mainframe/bbs/BBSGuestPane.java

7
designer-realize/src/main/java/com/fr/design/mainframe/bbs/BBSGuestPane.java

@ -3,6 +3,7 @@
*/
package com.fr.design.mainframe.bbs;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.gui.ilable.ActionLabel;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.layout.FRGUIPaneFactory;
@ -43,6 +44,7 @@ public class BBSGuestPane extends JPanel implements BBSGuestPaneProvider{
guestPane.add(userPane, BorderLayout.CENTER);
this.add(guestPane);
BidiUtils.applyOrientationByLocale(this);
}
private JPanel initUserPane(){
@ -66,11 +68,12 @@ public class BBSGuestPane extends JPanel implements BBSGuestPaneProvider{
private JPanel initInfoPane(){
JPanel infoPane = FRGUIPaneFactory.createBorderLayout_S_Pane();
UILabel infoNorthLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Thank_Guest"));
infoNorthLabel.setHorizontalAlignment(SwingConstants.LEADING);
UILabel centerLabel = new UILabel(StringUtils.BLANK);
infoPane.add(infoNorthLabel, BorderLayout.NORTH);
infoPane.add(centerLabel, BorderLayout.CENTER);
infoPane.add(centerLabel, BorderLayout.LINE_START);
return infoPane;
return BidiUtils.applyOrientationByLocale(infoPane);
}
private ActionLabel getURLActionLabel(final String text, final String url){

Loading…
Cancel
Save