Word wrap with jLabel

Is it possible to word-wrap text in a jLabel field? If not, what would be a good choice of component?

displayArea.setLineWrap (true);
displayArea.setWrapStyleWord (true);I thought it wasn't added automatic.
Kind regards,
  Levi

Similar Messages

  • Word Wrap with a Vertical Grid

    I've got a vertical grid with my headers in the left column and descriptive text in the column immediately to the right.  I'd like to have the descriptive text word wrap but checking the word wrap box on the layout tab doesn't seem to have any effect.
    Any ideas?  I'm using 11.5 SP3

    I'm not sure if it will work with the iGrid in a vertical orientation, but have you tried setting the RowHeight to something like 20 or 30 instead of the default of 0?  This setting will auto adjust the grid lines based upon the font-size, but you may need to force it to a certain height in order for the wrapping to work.
    Regards,
    Jeremy

  • Word wrap with JTextPane

    Ok, at the risk of sounding stupid: How do you turn off the word wrap on a JTextPane.
    Thanks in advance, Ed

    ...and I forgot setSize public class NonScrollingPane extends JTextPane { 
      public NonScrollingPane() {   
        super(); 
      public boolean getScrollableTracksViewportWidth() {
        return false; 
      public void setSize(Dimension d) {
        if(d.width < getParent().getSize().width) {
          d.width = getParent().getSize().width;
        super.setSize(d);
    }Ulrich

  • Word wrap with JScrollPane

    Quick question. Trying to get word wrap in a JTextField
    using JSrollPane. Below is a small snippet of code
    from my program...
    displayArea = new JTextArea ( );
    JScrollPane scroll = new JScrollPane ( displayArea,
       JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
       JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); Doesn't using JScrollPane.HORIZONTAL_SCROLLBAR_NEVER automatically
    introduce word wrap? I'm not getting it in my program. Somebody please correct me. Thanks!

    displayArea.setLineWrap (true);
    displayArea.setWrapStyleWord (true);I thought it wasn't added automatic.
    Kind regards,
      Levi

  • Word wrap with Flex 4

    Hi, Can someone help me in getting a wordwrap in Spark. Below is my code. Any help regarding this is highly Appreciated
    I  am trying to get wordwrap within a spark component, but I couldn't. Can someone fix this. Usoing Label or richtext or any control but not textinput or richeditabletext.
    I am also trying to copy paste the text. But I could not do that. How to do that?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
    library://ns.adobe.com/flex/spark" xmlns:mx="
    library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:com="com.*" xmlns:local="*">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Panel x="229" y="158" width="250" height="200" >
    <s:VGroup id="vGroup1" top="5" bottom="5" left="5" right="5" gap="-2" variableRowHeight="true" width="240" height="190">
    <s:HGroup width="100%" gap="0" id="hGroup1" left="5" height="100%">
    <s:VGroup width="100%" id="vGroup2" gap="-2" right="35" height="100%">  
    <mx:Text id="t" fontWeight="bold" htmlText="You can format the text in a Text control using HTML tags, which are applied after the control's CSS 
    />  
    <mx:Text id="DIS_Subject" width="100%" htmlText="The Text hhhhhhhhh control displays multiline"/>
    </s:VGroup>
    <mx:Image id="iconComplete" width="16"/>
    </s:HGroup>  
    <mx:Text textIndent="20" text="using HTML tags, which are hhhhhhhhh 888899999999 end " id="DIS_Author" width="100%" height="100%"/>
    <mx:Text text="ext control displays m mmmmmmmmmmmmm 5555555555end" id="lastReply" width="90%" height="100%"/>  
    </s:VGroup>
    </s:Panel></s:Application>

    well, it's more of a behavior, for lack of a better word, of  the component's width (rather than a documented property) You won't find it in the class definition. So, you just need to set the width.  In your code, you originally had;
    <mx:Text id="t" fontWeight="bold" htmlText="You can format the text in a Text control using HTML tags,which are applied after the control's CSS"/>
    you just need to set the width for that component, something like  <mx:Text id="t" width="100%" . . . />  just as you did with the others.  As soon as I set a width on it, it wrapped.
    * note, after setting the width, be sure to 'refresh' your design view to update your changes.

  • Word wrapping with JTextPane and styleDocument

    Hello,
    Can someone help me with the following problem.
    I have a JTextPane where i add a styledDocument.
    If i fill this with text it doen't word-warp the text!
    import javax.swing.JTextPane;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.Style;
    import javax.swing.text.StyledDocument;
    public class LogField extends JTextPane implements LogFileTailerListener{
         public static StyledDocument doc;
         private LogFileTailer tailer;
         private TextStyles styles;
         public LogField(){
              this.setEditable(false);
              this.setContentType("text/html");
              doc = (StyledDocument)this.getDocument();
              styles = new TextStyles();
              tailer = new LogFileTailer( LogPanel.logFileName, 1000, true );
              tailer.addLogFileTailerListener( this );
             tailer.start();          
         public void addText(String text, Style style){     
               try {
                  text = text + System.getProperty("line.separator");
                   doc.insertString(doc.getLength(), text, style);
              } catch (BadLocationException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              this.setCaretPosition(doc.getLength());
         @Override
         public void newLogFileLine(String line) {
                addText(line,styles.getDefaultStyle());
    }

    Since you are simply appending text to the Document you should not be using a type of "text/html".
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.

  • Spark RichText - no word wrap with percentage width

    Hello,
    With the old mx Text component, I could specify a percentage width, and have the height of the Text component automatically increase to show all the text.  I'm switching over to use the spark RichText component, and now this automatic wordwrap does not work with a percentage width (or by setting both left and right styles) - it just displays the first line of text and that's it.  It still works if I set an explicit width in pixels, but I want to be able to set a percentage width.
    Is there a way to get the height to calculate automatically like it did before when using a percentage width?

    Thanks for looking at it.  After some more digging, I found that it was because the RichText was inside a mx Canvas container.  I replaced it with a spark Group and it worked.

  • Force word wrap in JTextPane (using HTMLEditorKit)

    Hi!
    I have a JTextPane on a JScrollPane inside a JPanel. My text pane is using HTMLEditorKit.
    I set the scrolling policies of my JScrollPane to: JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED & JScrollPane.HORIZONTAL_SCROLLBAR_NEVER.
    I did not find in JTextPane�s API any relevant property I can control word-wrapping with (similar to JTextArea�s setLineWrap) and I have tried a few things to force word-wrapping but nothing worked...
    What happens is my text is NOT being wrapped (even though there is no horizontal scrolling) and typed characters (it is an enabled editable text componenet) are being added to the same long line�
    I�d like to force word-wrapping (always) using the vertical scroll bar whenever the texts extends for more then one (wrapped) line.
    Any ideas?
    Thanks!!
    Message was edited by:
    io1

    Your suggestion of using the example only holds if it fits the requirements of the featureDid your questions state anywhere what your requirement was?
    You first questions said you had a problem, so I gave you a solution
    You next posting stated what your where currently doing, but it didn't say it was a requirement to do it that way. So again I suggested you change your code to match the working example.
    Finally on your third posting you state you have some server related issues causing the requirement which I did not know about in my first two postings.
    State your problem and special requirments up front so we don't waste time quessing.
    I've used code like this and it wraps fine:
    JTextPane textPane = new JTextPane();
    textPane.setContentType( "text/html" );
    HTMLEditorKit editorKit = (HTMLEditorKit)textPane.getEditorKit();
    HTMLDocument doc = (HTMLDocument)textPane.getDocument();
    textPane.setText( "<html><body>some long text ...</body></html>" );
    JScrollPane scrollPane = new JScrollPane( textPane );If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Word wrap in JList

    I was wondering if I can do a word wrap with JLists.
    I have this so far.
    JList pizza;
    DefaultListModel listPizza;
    JScrollPane scrollPizza;
    listPizza = new DefaultListModel();
    pizza = new JList(listPizza);
    scrollPizza = new JScrollPane(pizza);
    This will let me scroll horizontally if the text becomes longer than the screen, but I want it to wrap around the screen. I only want to it to scroll vertically.

    In the future, swing questions should be posted in the swing forum.
    If I recall correctly, you can do this by making a custom CellRenderer for your JList which uses a JTextArea to do the rendering. Search the swing forum or look at the sun java tutorial for custom renderers.

  • Word Wrapping JLabel

    I'm having trouble getting JLabel's to word wrap. I've tried using html tags. Is there any way I ca do this? What I'm trying to do is read in from a file, get Questions and Answers, and display quesitons and answers to a JLabel using setText(). The dimensions are (400, 450) but even with html tags on the text I'm setting, it just runs right off the panel.
    Any suggestions would be much appreciated.
    Thanks,

    Below is my JTextArea. As you can see I have it set for 2 rows and 40 col. When I run the program, it's still just one line of text straight off my panel.
    Do you see anything I'm missing here?
                quesJTextArea = new JTextArea("",2,40);
                quesJTextArea.addMouseListener(this);
                quesJTextArea.setLineWrap(true);
                quesJTextArea.setWrapStyleWord(true);
                quesJTextArea.setEditable(false);
                quesJTextArea.setBackground(Color.gray);

  • JLabel Word Wrap

    I'm building a simple chat application to work on my network programming skills. I ran into an issue that I can't quite find a solution to.
    I Have a JPanel inside of a JScrollPane, and inside of it JLabels with the messages received are added as they come. I would like the JLabels to wrap the text after it reaches a certain width. Here's the testing code I'm using for this:
    import java.awt.*;
    import javax.swing.*;
    class ChatBody {
         public static Container createChatBody() {
              JPanel body = new JPanel(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.fill = GridBagConstraints.BOTH;
              c.weightx = 1.0;
              c.weighty = 1.0;
              JPanel messages = new JPanel();
              JScrollPane messagesPane = new JScrollPane(messages);
              messagesPane.setPreferredSize(new Dimension(608, 478));
              messagesPane.setBorder(BorderFactory.createLineBorder(Color.black));
              messagesPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
              JLabel messageOne = new JLabel("This is a label that I'm going to make really long to test the wrapping abilities of a JLabel/JPanel/JScrollPane. This needs to be really long so it will reach the end of the scroll pane and *hopefully* wrap on it's own, so I won't have to do any work =D");
              messages.add(messageOne);
              c.gridx = 0;
              c.gridy = 0;
              body.add(messagesPane, c);
              return body;
    }Please note I took some irrelevant code out.
    Is there a method or something to make JLabels word wrap? Or will I have to be creative and make something up?
    Edit: I don't know if this is relevant, but this is the class with the main() method:
    import java.awt.*;
    import javax.swing.*;
    class JavaChat {
         public static void createChatWindow() {
              JFrame frame = new JFrame("Java Chat");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setMinimumSize(new Dimension(800, 600));
              //frame.setJMenuBar();
              frame.getContentPane().add(ChatBody.createChatBody());
              frame.pack();
              frame.setVisible(true);
         public static void main(String args[]) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createChatWindow();
    }That's needed for anyone that needs to compile my code for some reason.
    Edited by: shadowayex on Dec 24, 2009 1:47 PM

    Wrapping is not support in a JLabel.
    Most people would use either a JTextArea or JTextPane which do support wrapping.

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • Help with a tabel word wrap

    Hi
    Any one help me please below is the html I have. its reading
    a .js file from an external source. The problem is word wrapping
    the content I need to make the conten wrap with in this table as i
    have no control of how the external content is constructed.
    Any help please.
    <table width="100%" border="0" cellpadding="0"
    cellspacing="0" id="PARA2">
    <tr>
    <td><script language="JavaScript"
    type="text/javascript" src="
    http://www.domain.net/p2.js"></script></td>
    </tr>
    </table>

    anyone not help with this please

  • Dynamically word wrap in a JLabel

    I have several JLabels in a complex layout that has a JSplitter and is in a resizeable window.
    I would like it if there isn't enough room for the text of the JLabel to fit on one line, but there is enough vertical room (there almost always is), for the JLabel to automatically word wrap, and become 2 or three line, as needed. (There are usually only 2 or three words in these JLabels.
    I haven't found a way to do this. I know about putting HTML in the JLabel lets you put <BR>s in, but I would like the JLabel to be only one line if possible, going to two line if there isn't enough room to fit all the text on one line.
    I searched this forum, and found a suggestion to use a JTextArea made up to look like a JLabel ( http://forum.java.sun.com/thread.jsp?forum=57&thread=399180 second reply from bottom ), but this has it's own problems. The JTextAreas, try to take up as much vertical space as possible instead of only as much space a necessary (as a JLable does) in the layout that I'm using.
    Is there any way of doing this?

    JLabel label = new JLabel();
    label.setLayout new BorderLayout() ;
    JTextPane pane = new JTextPane();
    pane.setBackground(label.getBackground());
    // or try making it opaque
    pane.setText("long text here");
    label.add(pane,BorderLayout.CENTER);The above still has the problem of wanting its preferred size to be calculated from the text layed out in one line. I was digged around in my Java2D folder and found some old code I wrote, based on something by J. Knudsen:
    import java.awt.*;
    import java.awt.font.*;
    import java.text.*;
    import javax.swing.*;
    public class JMultilineLabel extends JComponent {
        private String text;
        private Insets margin = new Insets(5,5,5,5);
        private int maxWidth = Integer.MAX_VALUE;
        private boolean justify;
        private final FontRenderContext frc = new FontRenderContext(null, false, false);
        private void morph() {
            revalidate();
            repaint();
        public String getText() {
            return text;
        public void setText(String text) {
            String old = this.text;
            this.text = text;
            firePropertyChange("text", old, this.text);
            if ((old == null) ? text!=null : !old.equals(text))
                morph();
        public int getMaxWidth() {
            return maxWidth;
        public void setMaxWidth(int maxWidth) {
            if (maxWidth <= 0)
                throw new IllegalArgumentException();
            int old = this.maxWidth;
            this.maxWidth = maxWidth;
            firePropertyChange("maxWidth", old, this.maxWidth);
            if (old !=  this.maxWidth)
                morph();
        public boolean isJustified() {
            return justify;
        public void setJustified(boolean justify) {
            boolean old = this.justify;
            this.justify = justify;
            firePropertyChange("justified", old, this.justify);
            if (old != this.justify)
                repaint();
        public Dimension getPreferredSize() {
            return paintOrGetSize(null, getMaxWidth());
        public Dimension getMinimumSize() {
            return getPreferredSize();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            paintOrGetSize((Graphics2D)g, getWidth());
        private Dimension paintOrGetSize(Graphics2D g, int width) {
            Insets insets = getInsets();
            width -= insets.left + insets.right + margin.left + margin.right;
            float w = insets.left + insets.right + margin.left + margin.right;
            float x = insets.left + margin.left, y=insets.top + margin.top;
            if (width > 0 && text != null && text.length() > 0) {
                AttributedString as = new AttributedString(getText());
                as.addAttribute(TextAttribute.FONT, getFont());
                AttributedCharacterIterator aci = as.getIterator();
                LineBreakMeasurer lbm = new LineBreakMeasurer(aci, frc);
                float max = 0;
                while (lbm.getPosition() < aci.getEndIndex()) {
                    TextLayout textLayout = lbm.nextLayout(width);
                    if (g != null && isJustified() && textLayout.getVisibleAdvance() > 0.80 * width)
                        textLayout = textLayout.getJustifiedLayout(width);
                    if (g != null)
                        textLayout.draw(g, x, y + textLayout.getAscent());
                    y += textLayout.getDescent() + textLayout.getLeading() + textLayout.getAscent();
                    max = Math.max(max, textLayout.getVisibleAdvance());
                w += max;
            return new Dimension((int)Math.ceil(w), (int)Math.ceil(y) + insets.bottom + margin.bottom);

  • Getting error with word wrap

    So this is the error im getting:
    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
              at flashx.textLayout.elements::FlowElement/getAbsoluteStart()[C:\Vellum\branches\v1\1.0\dev\ output\openSource\textLayout\src\flashx\textLayout\elements\FlowElement.as:960]
              at flashx.textLayout.compose::TextFlowLine/get location()[C:\Vellum\branches\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayo ut\compose\TextFlowLine.as:262]
              at flashx.textLayout.compose::ComposeState/createTextLine()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:369]
              at flashx.textLayout.compose::ComposeState/composeNextLine()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:295]
              at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[C:\Vellum\branc hes\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:3 45]
              at flashx.textLayout.compose::ComposeState/composeParagraphElement()[C:\Vellum\branches\v1\1 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:264]
              at flashx.textLayout.compose::BaseCompose/composeBlockElement()[C:\Vellum\branches\v1\1.0\de v\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:219]
              at flashx.textLayout.compose::BaseCompose/composeInternal()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:322]
              at flashx.textLayout.compose::ComposeState/composeInternal()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:126]
              at flashx.textLayout.compose::BaseCompose/composeTextFlow()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:288]
              at flashx.textLayout.compose::ComposeState/composeTextFlow()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:102]
              at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos e\StandardFlowComposer.as:678]
              at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\Vellum\branches\v1\1 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as: 758]
              at flashx.textLayout.compose::StandardFlowComposer/compose()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:821]
              at flashx.textLayout.container::TextContainerManager/compose()[C:\Vellum\branches\v1\1.0\dev \output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1205 ]
              at flashx.textLayout.container::TextContainerManager/updateContainer()[C:\Vellum\branches\v1 \1.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager .as:1292]
              at spark.components::RichEditableText/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\s park\src\spark\components\RichEditableText.as:2605]
              at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
              at mx.managers::LayoutManager/validateClient()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:932]
              at mx.core::UIComponent/validateNow()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core \UIComponent.as:7631]
              at spark.components::DataGroup/getVirtualElementAt()[E:\dev\4.0.0\frameworks\projects\spark\ src\spark\components\DataGroup.as:1430]
              at layouts::SemiCarouselLayout/updateDisplayListVirtual()[C:\ColdFusion9\wwwroot\com\schooli mprovement\pd360\layouts\SemiCarouselLayout.as:745]
              at layouts.supportClasses::NavigatorLayoutBase/updateDisplayList()[C:\ColdFusion9\wwwroot\co m\schoolimprovement\pd360\layouts\supportClasses\NavigatorLayoutBase.as:400]
              at layouts.supportClasses::PerspectiveNavigatorLayoutBase/updateDisplayList()[C:\ColdFusion9 \wwwroot\com\schoolimprovement\pd360\layouts\supportClasses\PerspectiveNavigatorLayoutBase .as:132]
              at layouts::SemiCarouselLayout/updateDisplayList()[C:\ColdFusion9\wwwroot\com\schoolimprovem ent\pd360\layouts\SemiCarouselLayout.as:716]
              at spark.components.supportClasses::GroupBase/updateDisplayList()[E:\dev\4.0.0\frameworks\pr ojects\spark\src\spark\components\supportClasses\GroupBase.as:1224]
              at spark.components::DataGroup/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\sr c\spark\components\DataGroup.as:1316]
              at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
              at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
              at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:736]
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    From what I can tell I have several links and the end of my text flow they are formatted like this "2.nf.5" they reference to a code. If I add text to so that one of them kicks down to then next line the error goes away. also if I change the textAlign to justify it goes away as well. it looks like it has to do with the word wrap. If you have any suggestions or help that would be great thanks.

    "Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds." means there is an endless loop in getAbsoluteStart(). That is to say, one of the elements in the textflow has a incorrect '_parent'. You can debug to see if it's your fault or ours.

Maybe you are looking for

  • Mouse events during Thread.sleep

    hi. I have an applet . I have a alghoritm simulator. Everytime I find a solution I call the method Thread.sleep . I want to pause the application and I create a JToggleButton Pause . When I press the Pause during sleep mouse event are managed at the

  • SAP Shipment Reporting of Finished Goods.

    Finance Dept. has to provide FG products that have been distributed  each month as either Trade Sale or Sample Distribution or Trade product distibuted free. (There is a diffrent Movement type for each). mb51 and ke5z as well as other report are curr

  • Recommended Patch Clusters and Zones

    Good Afternoon, Ran into a problem earlier this week and wanted to get other views on this. Our current configuration is as followed: Global zone installed on Local Disk (ZFS) 5 - Non-global whole root zones installed on SAN disk (ZFS) No Live Upgrad

  • Count the all null values in the given table

    Suppose a table has n number of rows and columns . can any one tell the query to count the number of null values present in the table. For example : select * from tname: A      B cc    jhghf hff      - -       kjh tys     - -        gyrfg jjgg      -

  • Deny install any application & Port scan

    Hi I have CSAMC51. Could you please tell me how do I deny running of any exe file (any applications) and deny port scan and ping from a agent running on a host.