[kepler-dev] [Bug 3187] - RExpression actor does not share focus

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sat Mar 29 20:46:02 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3187





------- Comment #3 from cxh at eecs.berkeley.edu  2008-03-29 20:46 -------
The change to TextEditorTableau is marked below
        if (frame == null) {
            frame = new TextEditor(title, container.getDocument());
        }

        frame.text.setColumns(80);
        frame.text.setRows(40);
-->     setTitle(frame.getTitle());
        setFrame(frame);
        frame.setTableau(this);

The problem is that if I make this change, then under Ptolemy the titlebar
does not get updated with the filename.  Here's how to reproduce this:
1. Make the above change to TextEditorTableau and recompile Ptolemy
2. File | New | Text Editor
3. Type some text
4. File | Save As
5. Save the file as data.txt
The title bar does not get updated with the title.

If I revert the change, and repeat, then the titlebar gets updated.
At least it did for my test


More information about the Kepler-dev mailing list