Getting started with Cocomo tutorial posted

For anyone that is interested I've posted a getting started
tutorial on using Cocomo by building a chat program using Flex
Builder 3. You can view the tutorial here:
http://giantflyingsaucer.com/blog/?p=289
Any feedback or corrections are appreciated.
Chad

quote:
Originally posted by:
Nigel Pegg
I'd actually spotted this demo before you'd even posted =).
Nice work, thanks for writing this! I'd say that there are a couple
of shortcuts you cut put in the MXML, but nothing really major -
for example, you could databind the List's dataProvider directly to
cSession.userManager.userCollection, and you could bind the
textArea's text directly to chatModel.history. Lastly, I'd maybe
use EmoticonTextArea. But these are just details - overall the
tutorial is fantastic!
Thanks Nigel! I've updated my article at the bottom to
include your tips and advice with refreshed screen shots for the
emoticons. Thanks for the help.
Chad

Similar Messages

  • Getting started with coldfusion tutorial

    In the tutorial, I am asked to locate the files in directory:
    C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial directory
    I can go as far as the CFIDE folder and after that there is
    no getting started or tutorial directory
    Could you advise me on what I may have missed or a way to
    resolve this problem.
    Thank you

    By the way, same Getting Started content is available if you
    follow this link
    http://www.macromedia.com/examples/cfgettingstarted/experience/index_content.cfm

  • Getting started with the tutorial

    I am an absolute beginner with OA Framework, and I would like to follow the tutorial with my laptop at home. I have read the "Setting Up Your Development Environment" section, and a couple of questions have come up:
    1) Do I need an e-Business Suite instance to follow the tutorial? Is there a script out there that I can use to create the tutorial tables in a non e-Business Suite Oracle DB instance?
    2) Will any e-Business Suite instance do? Does the DBA need to explicitly create the tutorial tables and the FWK_TBX_TUTORIAL responsibility, or are they part of any default installation?
    Thanks

    When I am trying to execute pageRN in Lab Tutorial (FWK) , I am getting the following error:
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility. (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:158)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    It says I dont have DB connection, I looked the DB is connected and the i have added FWK (OA) responsibilities to my login id.
    Could anyone please help me on this issue.
    Thanks
    Ravi

  • Need schema files for tutorial in getting started with soasuite11gR1

    Hi
    I just started working on Getting started with Oracle SOA suite11gR1 book.
    I dont have schema files required for tutorial.
    Can an provide me the schema files.
    creditchecck.xsd
    fulfillment.xsd
    internalorder.xsd
    OrderBookingDiscount.xsd
    po.xsd

    This link: http://download.oracle.com/technology/products/soa/soasuite/books/SOA11g_GettingStarted.zip contains the good files
    Edited by: 851325 on 11 avr. 2011 05:04

  • "Tutorial - Getting Started with JSF" does not work

    I tried the "Tutorial - Getting Started with JSF" located on http://www.oracle.com/technology/obe/obe1013jdev/jsfintro/jsfintro.htm#t6, but the last part "Creating a conditional navigation" is not complete.
    There are 2 issues
    1. The return values in the code blocks in step 9 and 11 do not match with the given example code.
    2. In step 12 I am missing the way to bind this message component to returned message from the login.
    Could you please correct the code parts and add the message binding piece?
    Thanks,
    Aard Jan

    I tried the "Tutorial - Getting Started with JSF" located on http://www.oracle.com/technology/obe/obe1013jdev/jsfintro/jsfintro.htm#t6, but the last part "Creating a conditional navigation" is not complete.
    There are 2 issues
    1. The return values in the code blocks in step 9 and 11 do not match with the given example code.
    2. In step 12 I am missing the way to bind this message component to returned message from the login.
    Could you please correct the code parts and add the message binding piece?
    Thanks,
    Aard Jan

  • I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue?

    I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue? Is there a work around? I have done this app twice and still cant get the exit to except the Cancel or Done  bar buttons

    Yes I checked it.  As far as I can see I did everything Apple said to do.  I took some screen shot so you can see how the screens are connected and what and where the code is, and what it does when I drag the cancel and done bar buttons to the exit

  • Can not get example to work after following instructions given in "Getting Started with the NI LabVIEW C Generator" guide

    We explored using sbRIO for our project, for different reasons we ended up going with a different embedded solution . We are currently evaluating the LabVIEW C Generator to convert some of the core analysis routines from LabVIEW to C so the team that will be creating the embedded solution don't have to re-implement them from scratch. 
    Before converting our code, I followed the instructions given in the "Getting Started with the NI LabVIEW C Generator" manual to create a static library created inCygwin using GNU Compiler Collection (GCC). 
    I managed to compile the code, but when I type "run GCD.exe" in the Cygwin console, I just see the window flash with no time to see if the result is correct or not. I modified the main.c cde to add a getchar(), but the window still just flashes and now I am left with the GCD process still running and have to kill it using Windows Task Manager.
    Has anyone else got this example to run? I am sure I am missing an obvious setting or step, please help me.
    More details below.
    Thanks,
    Fab
    Here is a video showing the steps I followed 
    If you don't want/can't see the video. Here are some screenshots of what I have done so far:
    GratestCommonDivisor.lvproj C Generation build specs Information:
    C Function prototype definition:
    I copied Makefile located at: C:\Program Files (x86)\National Instruments\LabVIEW 2011\examples\CGenerator\Tutorial\Cygwin
    and replaced both Makefile and Makefile.cygwin in the directory where the C code was generated
    I also copied main.c from the same location and replaced the one generated
    Here is the snapshot of the results after executing "make GCD.exe"
    Then to run it I just type 
    I see a window open and close really quickly and I never see the result. I have tried adding the getchar() line to the main.c file, but still I don't get to see the results.
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion

    Hi Kevin,
    I hope you had a good Thanksgiving. I am attaching a zip file with the LabVIEW project, my build specification and my version of "Greatest Common Divisor.vi", which should be the same as the one that you have that ships with the LabVIEW C Generator, but just in case. I am also attaching a zip file with the C files generated by the LabVIEW C Generator.
    You can also see the video I posted earlier with the steps I followed. I hope you are able to point out where I went wrong. 
    Thanks,
    Fab
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion
    Attachments:
    GreatestCommonDivisor.zip ‏8 KB
    CGen Files.zip ‏71 KB

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • Getting Started with Swept Sine (DAQmx) Multiple Response Signals

    Hi,
    I've been using the modified version of the Getting started with swept sine.vi for multiple response signals
    https://decibel.ni.com/content/docs/DOC-24474. Program fully suitable.
    However, I am facing with three issues :
    1) The edits are highly non user friendly (horrible for 6 multi-channel already), and quite long to perform.
    2) Would there be a way using for loops to have a more compact and flexible way to use FRF? (Calling 6 times the same program in a similar structure does not quite seem like a smart move yet I'm relatively novice in LabVIEW).
    3) Be able to set the number of channels somewhere in the software, and automatically have the software to be able to cope with this? (aka if 20 multichannels are needed, no need to modify the code?)
    It's probably going to be a lot of work to get there, all I'm asking for you guys is to point me in the right direction and suggestions,
    Cheers,
    Kentmey
    Kentmey

    duplicate post, continue here…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Getting started with Hibernate

    Hi Friends,
    I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error
    D:\Hibernate>run
    D:\Hibernate>D:\jdk1.3.1\jre\bin\java -classpath .\lib\hibernate2.jar;.\lib\jta.
    jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\commons-co
    llections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\jdbc2_0-stdext.jar;.\bin Even
    tManager
    Initializing Hibernate
    INFO - Hibernate 2.1 final
    INFO - hibernate.properties not found
    INFO - using CGLIB reflection optimizer
    INFO - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets
    disabled
    INFO - using workaround for JVM bug in java.sql.Timestamp
    INFO - configuring from resource: /hibernate.cfg.xml
    INFO - Configuration resource: /hibernate.cfg.xml
    INFO - Mapping resource: Event.hbm.xml
    INFO - Mapping class: Event -> EVENTS
    INFO - Configured SessionFactory: null
    INFO - processing one-to-many association mappings
    INFO - processing one-to-one association property references
    INFO - processing foreign key constraints
    INFO - Using dialect: net.sf.hibernate.dialect.HSQLDialect
    INFO - Use outer join fetching: false
    INFO - Using Hibernate built-in connection pool (not for production use!)
    INFO - Hibernate connection pool size: 20
    INFO - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:data/test
    INFO - connection properties: {user=sa, password=}
    INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor
    y
    INFO - No TransactionManagerLookup configured (in JTA environment, use of proce
    ss level read-write cache is not recommended)
    INFO - Use scrollable result sets: true
    INFO - echoing all SQL to stdout
    INFO - Query language substitutions: {}
    INFO - cache provider: net.sf.hibernate.cache.HashtableCacheProvider
    INFO - instantiating and configuring caches
    INFO - building session factory
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    what jar files/files I need other than mentioned in the tutorial.
    please help me to get started with Hibernate...
    Thanks for your help and time.

    java -classpath .\lib\hibernate2.jar;.\lib\jta.jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\asm-1.4.1.jar;.\lib\commons-collections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\xml-apis-2.3.0.jar;.\lib\xerces-2.3.0.jar;.\lib\jdbc2_0-stdext.jar;.\bin de.gloegl.road2hibernate.EventManager
    see above classpath and identify....how many jars you missed... :)
    All the best
    Nilesh

  • Getting Started with Wireless: Wireless configuration on 877W router - STUC

    Just letting you know that I've already posted an identical post under "Getting Started with Wireless" but don't feel that I'm getting any attention so I made another post. Thank you.
    Hi all
    I have a Cisco 877W router running IOS v 12.4(15)T3. Have been trying to configure wireless to run WPA-PSK and is stuck at the final stage. Spent a lot of time configuring the router using CLI but ended up using the Web GUI interface. I was able to configure the wireless settings (I think) but failed when connecting to the router from WinXP-SP2 and was wondering if you have any suggestion for me. I've ran the following debugs on the router:
    VNRouter#sho debug
    DHCP server event debugging is on.
    dot11:
    802.1X module WPA/WPA-PSK/CCKM key management debugging is on
    dot11 Syslog debugging is on
    Below is the error message when connecting wirelessly
    *Mar 4 18:46:25.655: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
    VNRouter#
    *Mar 4 18:46:25.659: %DOT11-6-ASSOC: Interface Dot11Radio0, Station VNRouter 001b.771a.dbad Associated SSID[VN-WiLess1] AUTH_TYPE[OPEN] KEY_MGMT[WPA PSK]
    VNRouter#
    *Mar 4 18:47:25.571: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
    *Mar 4 18:47:25.575: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
    *Mar 4 18:47:25.575: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
    *Mar 4 18:47:25.579: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded.
    I've created two VLANs (and tied these two vlans to 2 separate SSID) on this router for a reason and so far has not been able to connect to any of them (SSID). I've also attached the config so you can have a look. Thanks in advance for your help.

    The configuration looks fine. In most cases, the connectivity issues with WPA-PSK is due to the mismatch in PSK on the Client and the AP. Try re-entering the PSK key on both the router and the client and check if you are seeing any issues.

  • Help Needed with getting Started With Office 365 Development C# Rest API

    We have a O365 Tenant Setup with a Federated Active Directory Setip we want to be able to right code that will connect to our tenant and perform basic CRUD operations against it (ex. Creating mail boxes)
    The problem is we want this to be contained in a CLR trigger In SQL so say if a new user is added to our user table then we would create a new AD account for that user and also create a mailbox.
    But I cannot find and example on how to connect to Office 365 using the REST API (Not the SDK because you can not add the connected service to a class library) and before the required actions that we need to do. All the example I have found are with the
    SDK API and/or require window 8 and that is also not an option.
    Please help I do not know where to start, and I would love to see some examples done in c# and not using the SDK.
    Thanks,
    Andrew Day

    Hi,
    >> Instead of SharePoint URLs I would use the O365 API URL?
    Yes, in my sample code, I was accessing the File resource by using the O365 File API. In your case, you need to acquire the token to access the Mail resource and use O365 Mail API.
    By the way, I think the article
    Understand Office 365 app authentication concepts will help you to understand the authentication process in Office 365 Development.
    >> Why can I not use the SDK API with a class Library?
    Actually, you are able to reference the Office 365 .NET SDK in the class Library. But the class library project type was not supported by Visual Studio Office 365 Development Tool. As a workaround,
    you can reference the SDK manually in your project.
    Since your original question is about “getting started with Office 365 Development C# Rest API”, if you have more questions about the Office 365 SDK, I will suggest you posting a new thread
    to discuss the Office 365 SDK. It will involve more other community members to share their ideas and experience on a specific a question and for others who had a similar question could also find the valuable information quickly.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • FAQ: Common Lightroom workflows, or How do I get started with this program?

    Starting to use a new application can be intimidating, especially one as sophisticated as Lightroom. Here is a handy list of resources to help you with your Lightroom workflow:
    Getting Started Tutorials
    10 Things Beginners Want to Know (Video, 36:28) from How to Get Started with Lightroom 4 with Terry White
    How And Why You Should Use Adobe Lightroom
    Beginners Guide on How to Use Lightroom 3
    Photoshop Lightroom Tutorials Roadmap
    A wealth of Lightroom tutorials (John Nack)
    The Official Lightroom resource center
    The Lightroom home page
    The Lightroom 4 Users Guide
    Continually updated resources
    Learn Photoshop Lightroom 4
    Learn Lightroom 4 Channel on Adobe TV
    Julieanne Kost's Lightroom tutorial videos
    Lightroom tutorials on Photoshop.com
    Layers Magazine Lightroom Tutorials
    Lightroom Killer Tips
    Additionally, check out the rest of the Lightroom FAQ.
    Follow Lightroom through social channels to receive a constant stream of tutorials:
    Facebook
    Google+
    Twitter
    YouTube (Check out the Getting Started with Lightroom series of videos)

    contact adobe support, http://www.adobe.com/support/chat/ivrchat.html

  • Hit brick wall with "Getting started with DW"

    Hi Guys, i am totally new to web design and DW, working
    through the "Getting started with DW" under the “help”
    banner seemed o.k at first until one leaves the comfort of table
    design, once into the css and xml the environment the Getting
    started tutorial is very shake and waiting for a reply from DW
    would test even the patience of a Buddhist monks.
    Can someone please recommend a good book/video/dvd or is it
    best just to ask questions on this forum, it does seem faster than
    DW.
    Thanks in advance
    Regards
    Bal

    To be honest with you, the very best way to get started is to
    start with
    HTML and then CSS. A week or two spent learning the basics of
    both of these
    will make DW seem like a walk in the park afterwards.
    Ask your questions here, though....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "herbybal" <[email protected]> wrote in
    message
    news:ejs6rk$1b1$[email protected]..
    > Hi Guys, i am totally new to web design and DW, working
    through the
    > "Getting
    > started with DW" under the ?help? banner seemed o.k at
    first until one
    > leaves
    > the comfort of table design, once into the css and xml
    the environment the
    > Getting started tutorial is very shake and waiting for a
    reply from DW
    > would
    > test even the patience of a Buddhist monks.
    > Can someone please recommend a good book/video/dvd or is
    it best just to
    > ask
    > questions on this forum, it does seem faster than DW.
    >
    > Thanks in advance
    > Regards
    > Bal
    >
    >

Maybe you are looking for

  • Help in com.sap.aii.af.ra.ms.api.DeliveryException

    Hi guys, I'm doing a complex RFC to JDBC syncronous select scenario, In my BPM the sync send step is showing an error. The message i'm getting in moni is   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:Err

  • ATP - Check in STO

    We will create STO PO for our inter-plant transfer. We have plant delivery time of 100 DAYS. we don't want the system to get confirmed any qty while creating the order. We are doing delivery through SD route. Only ATP check needs to turned on while d

  • JDBC Explorer & Database

    I need to create a database (static_data). I don't solve my problem with MySql. I try with JDBC Explorer. I have read it was possible for a little DB like mine. BUT I don't know how implement the lines Driver and URL. I have JBuilder4. The system req

  • Sequential Numbered Clips in Clips Bin? Is it possible?

    Is there a way to have numbered clips in the clips bin order themselves correctly instead of: 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, etc.

  • Need help with adding graphics to NSTextView

    I am looking for information on adding graphics to NSTextView so that the graphic is linked to a point in the text and will move with it as the window is resized. I understand that a subclass of NSTextContainer is needed to define the line lengths, e