PanelLabel label1 = new PanelLabel(text1);
if ( data.useRtl() ) { label1.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); }
ProductInformation = new JEditorPane("text/html", getInfoText());
ProductInformation.setEditable(false);
if ( data.useRtl() ) { ProductInformation.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); }
ProductPane = new JScrollPane(ProductInformation);
ProductPane.setPreferredSize(new Dimension(250, 145));
ProductPane.setBorder(new EmptyBorder(10, 0, 10, 0));
if ( data.useRtl() ) { ProductPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); }