Inserting AP elements

In DW 3 inserting a nested AP element was done by holding ALT
when dragging
the element. How is it done with CS4. Each time I click ALT
and try to
draw my element it doesn't draw and I get the Indicator
popping out.
I know I can do this just by putting my cursor, in code view,
in the
container I want my AP element to be nested in. But I use to
do it with
ALT. What's the new procedure.
Thanks
aka Frenchy ASP

Or worse! 8)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Alain St-Pierre" <[email protected]> wrote in
message
news:[email protected]...
> Ouch
>
> aka Frenchy ASP
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Tear those pages that discuss nested AP elements out
of the book and burn
>> them.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>> ==================
>>
>>
>> "Alain St-Pierre" <[email protected]>
wrote in message
>> news:[email protected]...
>>>I am going thru my CS3 bible with CS4 installed,
This is to get familiar
>>>with CS4 and to see the changes from CS3 to CS4.
But as a first
>>>inpression CS4 is a lot more convenient. I like
it.
>>>
>>> Thanks David
>>>
>>> aka Frenchy ASP
>>> "Murray *ACE*"
<[email protected]> wrote in message
>>> news:[email protected]...
>>>> Nested AP element? Why? The use of AP
elements should be minimal.
>>>> The use of NESTED AP elements should be once
in a few lifetimes! 8)
>>>>
>>>> --
>>>> Murray --- ICQ 71997575
>>>> Adobe Community Expert
>>>> (If you *MUST* email me, don't LAUGH when
you do so!)
>>>> ==================
>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>> ==================
>>>>
>>>>
>>>> "Alain St-Pierre"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> In DW 3 inserting a nested AP element
was done by holding ALT when
>>>>> dragging the element. How is it done
with CS4. Each time I click ALT
>>>>> and try to draw my element it doesn't
draw and I get the Indicator
>>>>> popping out.
>>>>>
>>>>> I know I can do this just by putting my
cursor, in code view, in the
>>>>> container I want my AP element to be
nested in. But I use to do it
>>>>> with ALT. What's the new procedure.
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> aka Frenchy ASP
>>>>>
>>>>
>>>
>>>
>>
>
>

Similar Messages

  • Need help in Insertion of Element in DefaultStyledDocument

    Hello:
    I am developing an XML editor by extending the DefaultStyledDocument of javax.swing.text package. I am not able to insert an element in the document.
    This is what I have done: (I need to insert one BranchElement, with two leaf child elements.)
    I inserted the text in the document corresponding to the first child element using insertString() method. In the insertUpdate() method of the document, I am creating the branch element and its first child covering the inserted text. I then call the insertUpdate() method of DefaultStyledDocument. Similarly, I insert text corresponding to the second child and modify the element structure inside insertUpdate() and then call the insertUpdate() of DefaultStyledDocument().
    At the end of the execution, the element structure is okay, but all the inserted text also becomes a part of the previous element.
    for example,
    if I have the following element structure at the beginning: (element offsets are in the square brackets besides their names, child elements are indented.)
    html [0 2]
    start-leaf [0 1]
    end-leaf [1 2]
    and I insert body at position 1 with its two children (each of length 1)
    I get the following element structure:
    html [0 4]
    start-leaf [0 3] //why this?
    body [1 3]
    start-leaf[1 3] //why this instead of [1 2]?
    end-leaf [2 3]
    end-leaf [3 4]
    And, I am not able to see the Views corresponding to the inserted elements.
    (I tried without modifying the element structure explicitely, but it doesn't work that way.Also, I am able to remove elements from the document. In that case also I am following a similar logic: remove the data from the document using remove() method and modify the element structure inside removeUpdate(). and it seems to work fine.)
    Can anyone please help me understand why this is happening?
    Thanks a lot!

    like this ??
    SQL> Create Table t1
      2  (a Number,
      3   b Number);
    Table created
    SQL>  Create Table t2
      2  (a Number,
      3   b Number,
      4   c Number Not Null);
    Table created
    SQL>  Insert Into t1 Values (1,2);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL>  Insert Into t2 Select t.*,3 From t1 t;
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> select * from t1;
             A          B
             1          2
    SQL> select * from t2;
             A          B          C
             1          2          3
    SQL> hope this helps you

  • Inserting an element into an XML document

    I am simply looking insert a new element into an existing XML Document using JDOM. Here is my code so far:
    public class UserDocumentWriter {
         private SAXBuilder builder;
         private Document document;
         private File file = new File("/path/to/file/users.xml");
         private Element rootElement;
         public UserDocumentWriter() {
              builder = new SAXBuilder();
              try {
                   document = builder.build(file);
                   rootElement = document.getRootElement();
              } catch (IOException ioe) {
                   System.err.println("ERROR: Could not build the XML file.");
              } catch (JDOMException jde) {
                   System.err.println("ERROR: " + file.toString() + " is not well-formed.");
         public void addContact(String address, String contact) {
              List contactList = null;
              Element contactListElement;
              Element newContactElement = new Element("contact");
              newContactElement.setText(contact);
              List rootsChildren = rootElement.getChildren();
              Iterator iterator = rootsChildren.iterator();
              while (iterator.hasNext()) {
                   Element e = (Element) iterator.next();
                   if (e.getAttributeValue("address").equals(address)) {
                        contactListElement = e.getChild("contactlist");
                        contactListElement.addContent(newContactElement);
                        writeDocument(document);
         public void writeDocument(Document doc) {
              try {
                   XMLOutputter output = new XMLOutputter();
                   OutputStream out = new FileOutputStream(file);
                   output.output(doc, out);
              } catch (FileNotFoundException ntfe) {
                   System.err.println("ERROR: Output file not found.");
              } catch (IOException ioe) {
                   System.err.println("Could not output document changes.");
         }However, the problem is, the newly added element will always be appended to the end of the last line, resulting in the following:
    <contactlist>
                <contact>[email protected]</contact><contact>[email protected]</contact></contactlist>Is there anyway in which I can have the newly added element create it's own line for the purpose of tidy XML? Alternatively is there a better methodology to do the above entirely?

    Your question is not very clear.
    Do you want to know How to insert an element into an XML document?
    Answer: I can see you already know how to do it. You have added the element using addContent()
    or do you want to know How to display the XML in a tidy format?
    Answer: to view the XML in a properly formatted style you can you the Format class. A very basic way of viewing the XML would be:
       * Prints the Document to the specified file.
       * @param doc
       * @param filename
       * @param formatting
      public static void printDocToFile(Document doc, String strFileName,
          boolean formatting)
        XMLOutputter xmlOut = null;
        if (!formatting)
          xmlOut = new XMLOutputter();
        } else
          Format prettyFormat = Format.getPrettyFormat();
          prettyFormat.setOmitEncoding(false);
          prettyFormat.setOmitDeclaration(false);
          xmlOut = new XMLOutputter(prettyFormat);
        try
          if (doc != null)
            FileWriter writer = new java.io.FileWriter(strFileName, true);
            xmlOut.output(doc, writer);
            writer.flush();
            writer.close();
          } else
            System.out.println("Document is null.");
        catch (Exception ex)
          System.out.println(ex);
      }

  • Hihow to insert 2 elements into 2D array?

    Hi I had a hard time figuring out how to insert 2 elements into 2D arrays. 
    I tried using replace and insert array functions but it does not work right way.
    I am using LV7.1. See the pic below.
    How do I insert elements in that way?
    Pls advise
    Clement

    Well, "replace array subset" is not the right tool, because it keeps the size of the array constant. Insert into array only works for entire rows or columns.
    You need a hybrid approach, because you want to insert elements at the beginning of column 1 while padding the remaining columns to the new lenght of column 1. This won't be efficient but there are plenty of ways to do that (here is one example with DBL arrays, should work equally well for string arrays as in your case).
    How much flexibility do you need? Is it always at the beginning of the first column? Are the arrays huge (=is performance an issue)? Is this a rare operations or do you constantly need to do this (e.g. inside a loop).
    In any case this seems like a rather arbitrary and somewhat silly operation. What is the practical purpose?
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    WeirdMerge.vi ‏21 KB

  • Fm10 crashes when you insert an element

    Fm 10 crashes when you insert an element. The problem occurs in structured fm and in xml files and it seems to happen when you insert the same element twice, for example a <para> after a <para> or a <choice> after a <choice>.
    I'm using Fm 10.0.1 in Windows XP SP3.
    Yves Barbion
    www.scripto.nu

    Well, when working with FrameMaker there is almost no difference if a file was opened from DITA XML or if it is a DITA .fm file: It is always the binary internal file object that is handled. The only difference when (seemingly) working with XML files: they have to be translated from and to markup when opened opened or saved. BTW, this is the reason why you would not want to work with large XML files.
    Bottom line: If your .fm files are also DITA files the observations you mentioned apply.
    - Michael

  • How to insert queue element from C

    I want to insert a single queue element into a LabView Queue from C (from a DLL).
    The only thing I found is How to set an Labview-Occurence from C. I assume that I have to do that in 2 steps: 1. copy the string data into the queue with a push/pop command. 2. Set the Occurence from the queue to notify waiting queue elements.
    I only need to know how to realize this in the exactly way. (internals of Queue handling, Queue structure, example code, ....)
    I'm using LabView 6.0.2 with WinNT 4.0
    Thank's for help.
    Robert

    Robert,
    You currently cannot access Queue elements from external code. We hope to add this feature to a future version.
    Marcus Monroe
    National Instruments

  • Insert Wysiwyg Element button grayed out in Site Studio (help!!!)

    I just finished installing Site Studio and UCM onto Windows Server 2004 R2 Apache Setup. I am unable to insert a Wysiwg Elements among other items (the buttons are clicked out)
    On a side note, when I try to open a site in Contributor Mode, I click on Edit region, and I get the following error
    "No elements exist within the region. This window will now close"
    Are these two issues related. Thanks for the help.

    What is your browser version. Can you try from Firefox browser.
    Also contribution elements will be enabled only if your mouse cursor is in contribution region. else they will be greyed out.
    regards,
    deepak
    Edited by: r.dipk on Apr 22, 2010 12:06 AM

  • How to insert 1 element in 2D array?

    There is an example of how to replace element in 2D array, but I would like to insert (not replace), I use the insert element. it does not work for 2 D array.
    Attachments:
    find_and_map_defect_to_image736X554.vi ‏46 KB

    You need to tell more about what you want done. What exactly does it mean
    to insert into a 2D array? Are you inserting into the row or column or
    both? By that I mean to ask what parts of the array get their indices
    incremented. Then what should happen at the endpoints? If you insert a
    point into one row then that row will have one more element than the others.
    Should the last element in that row be lost or should the other rows get a
    zero appended?
    "trout00" wrote in message
    news:[email protected]..
    > There is an example of how to replace element in 2D array, but I would
    > like to insert (not replace), I use the insert element. it does not
    > work for 2 D array.

  • How to insert database elements?

    Hi all,
    could you please tell me .. how to add insert command in our abap program to insert the database elements?  and also we want to know whether we can add the same insert statement we are using on the oracle.we tried with that command but it cause some problem.
    INSERT INTO ZJEYC1 VALUES (' & CUSTNO ' , ' & CUSTNAME & ' , ' & CUSTADDRESS & ' , ' & CUSTMOB & ').
    is it correct?...
    if no please send me the code...

    INSERT - Insert in a database table
    Variants
    1. INSERT INTO dbtab VALUES wa. or
    INSERT INTO (dbtabname) VALUES wa.
    2. INSERT dbtab. or
    INSERT *dbtab. or
    INSERT (dbtabname) ...
    3. INSERT dbtab FROM TABLE itab. or
    INSERT (dbtabname) FROM TABLE itab.
    Effect
    Inserts new lines in a database table .
    You can specify the name of the database table either in the program itself in the form dbtab or at runtime as the contents of the field dbtabname . In both cases, the database table must be defined in the ABAP/4 Dictionary . If the program contains the name of the database table, it must also include a corresponding TABLES statement. Normally, lines are inserted only in the current client. Data can only be inserted using a view if the view refers to a single table and was defined in the ABAP/4 Dictionary with the maintenance status "No restriction".
    INSERT belongs to the Open SQL command set.
    Notes
    You cannot insert a line if a line with the same primary key already exists or if a UNIQUE index already has a line with identical key field values.
    When inserting lines using a view , all fields of the database table that are not in the view are set to their initial value (see TABLES ) - if they were defined with NOT NULL in the ABAP/4 Dictionary . Otherwise they are set to NULL .
    Since the INSERT statement does not perform authorization checks , you must program these yourself.
    Lines specified in the INSERT command are not actually added to the database table until after the next ROLLBACK WORK . Lines added within a transaction remain locked until the transaction has finished. The end of a transaction is either a COMMIT WORK , where all database changes performed within the transaction are made irrevocable, or a ROLLBACK WORK , which cancels all database changes performed within the transaction.
    Variant 1
    INSERT INTO dbtab VALUES wa. or
    INSERT INTO (dbtabname) VALUES wa.
    Addition
    ... CLIENT SPECIFIED
    Effect
    Inserts one line into a database table.
    The line to be inserted is taken from the work area wa and the data read from left to right according to the structure of the table work area dbtab (see TABLES ). Here, the structure of wa is not taken into account. For this reason, the work area wa must be at least as wide (see DATA ) as the table work area dbtab and the alignment of the work area wa must correspond to the alignment of the table work area. Otherwise, a runtime error occurs.
    When the command has been executed, the system field SY-DBCNT contains the number of inserted lines (0 or 1).
    The return code value is set as follows:
    SY-SUBRC = 0 Line was successfully inserted.
    SY_SUBRC = 4 Line could not be inserted since a line with the same key already exists.
    Example
    Insert the customer Robinson in the current client:
        TABLES SCUSTOM.
        SCUSTOM-ID        = '12400177'.
        SCUSTOM-NAME      = 'Robinson'.
        SCUSTOM-POSTCODE  = '69542'.
        SCUSTOM-CITY      = 'Heidelberg'.
        SCUSTOM-CUSTTYPE  = 'P'.
        SCUSTOM-DISCOUNT  = '003'.
        SCUSTOM-TELEPHONE = '06201/44889'.
        INSERT INTO SCUSTOM VALUES SCUSTOM.
    Addition
    ... CLIENT SPECIFIED
    Effect
    Switches off automatic client handling. This allows you to insert data across all clients even when dealing with client-specific tables. The client field is then treated like a normal table field which you can program to accept values in the work area wa that contains the line to be inserted.
    The addition CLIENT SPECIFIED must be specified immediately after the name of the database table.
    Example
    Insert the customer Robinson in client 2:
        TABLES SCUSTOM.
        SCUSTOM-MANDT     = '002'.
        SCUSTOM-ID        = '12400177'.
        SCUSTOM-NAME      = 'Robinson'.
        SCUSTOM-POSTCODE  = '69542'.
        SCUSTOM-CITY      = 'Heidelberg'.
        SCUSTOM-CUSTTYPE  = 'P'.
        SCUSTOM-DISCOUNT  = '003'.
        SCUSTOM-TELEPHONE = '06201/44889'.
        INSERT INTO SCUSTOM CLIENT SPECIFIED VALUES SCUSTOM.
    Variant 2
    INSERT dbtab. or
    INSERT *dbtab. or
    INSERT (dbtabname) ...
    Additions
    1. ... FROM wa
    2. ... CLIENT SPECIFIED
    Effect
    These are the SAP -specific short forms for the statements explained under variant 1.
    INSERT INTO dbtab VALUES dbtab. or
    INSERT INTO dbtab VALUES *dbtab. or
    INSERT INTO (dbtabname) VALUES wa.
    When the command has been executed, the system field SY-DBCNT contains the number of inserted lines (0 or 1).
    The return code value is set as follows:
    SY-SUBRC = 0 Line successfully inserted.
    SY_SUBRC = 4 Line could not be inserted, since a line with the same key already exists.
    Example
    Add a line to a database table:
        TABLES SAIRPORT.
        SAIRPORT-ID   = 'NEW'.
        SAIRPORT-NAME = 'NEWPORT APT'.
        INSERT SAIRPORT.
    Addition 1
    ... FROM wa
    Effect
    The values for the line to be inserted are not taken from the table work area dbtab , but from the explicitly specified work area wa . The work area wa must also satisfy the conditions described in variant 1. As with this variant, the addition allows you to specify the name of the database table directly or indirectly.
    Note
    If a work area is not explicitly specified, the values for the line to be inserted are taken from the table work area dbtab if the statement is in a FORM or FUNCTION where the table work area is stored in a formal parameter or local variable of the same name.
    Addition 2
    ... CLIENT SPECIFIED
    Effect
    As for variant 1.
    Variant 3
    INSERT dbtab FROM TABLE itab. or
    INSERT (dbtabname) FROM TABLE itab.
    Additions
    ... CLIENT SPECIFIED
    ... ACCEPTING DUPLICATE KEYS
    Effect
    Mass insert: Inserzts all lines of the internal table itab in a single operation. The lines of itab must satisfy the same conditions as the work area wa in variant 1.
    When the command has been executed, the system field SY-DBCNT contains the number of inserted lines.
    The return code value is set as follows:
    SY-SUBRC = 0 All lines successfully inserted. Any other result causes a runtime error .
    Note
    If the internal table itab is empty, SY-SUBRC and SY-DBCNT are set to 0 after the call.
    Addition 1
    ... CLIENT SPECIFIED
    Effect
    As for variant 1.
    Addition 2
    ... ACCEPTING DUPLICATE KEYS
    Effect
    If a line cannot be inserted, the processing does not terminate with a runtime error, but the return code value of SY-SUBRC is merely set to 4. All the remaining lines are inserted when the command is executed.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Insert XHTML elements inside XML schema

    Hi,
    My oracle version is 10.2.0.2.0. Following this suggest :
    http://forums.oracle.com/forums/thread.jspa?messageID=835251&#835251
    I tried to create a schema in this way:
    <?xml version="1.0"?>
    <xs:schema
         xmlns:xs="http://www.w3.org/2001/XMLSchema"
         xmlns:xdb="http://xmlns.oracle.com/xdb"
         targetNamespace="http://test.example.it/test"
         xmlns="http://test.example.it/test"
         elementFormDefault="qualified"
         attributeFormDefault="unqualified">
         <!-- definition of main element -->
         <xs:element name="Project">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="AnnoBando" type="xs:string" xdb:SQLType="CLOB"/>
                        <xs:element name="AnnoBando2" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>In this schema only element "AnnoBando" contains XHTML elements, my question is, when I upload my xml document, can I pass directly XHTML elements in this way?
    insert into TESTSQLTYPE values ('codice', xmltype('
    <Project
         xmlns = "http://test.example.it/test"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:xml="http://www.w3.org/XML/1998/namespace"
         xsi:schemaLocation = "http://test.example.it/test http://test.example.it/test2.xsd">
         <AnnoBando> text <b>bolded text</b> text</AnnoBando>
      <AnnoBando2>empty text</AnnoBando2>
    </Project>
    '))or I should insert html entities of "<" and ">" of the element?
    If i try to insert the xml example specified here I get this error:
    ORA-31187: Cannot Add Node 'b' (type='element') to Simple Type Node '/Project/Annobando'Thanks for your help.
    Stefano

    Try these two:
    1.
    ======
    <AnnoBando>![CDATA[text &lt;b&gt;bolded text&lt;/b&gt; text]]</AnnoBando>
    =======
    2.
    ======
    <AnnoBando> text &amp;lt;b&amp;gt;bolded text&amp;lt;/b&amp;gt; text</AnnoBando>
    =======<p>
    Basically, because '<' and '>' are used for element declarations in XML, you cannot include them 'nude' in the element content. The above are two methods of escaping those characters.
    <p>
    Leigh.

  • Dynamic insertion of elements based on dynamic condition

    I need to achieve the following:
    Input:
    <Customer>
         <name>Name1</name>
         <email>Email1</email>
         <phone>Phone1</phone>
         <Number>Num1</Number>
    <Customer>     
    Output:
    <Customer>
         <name>Name1</name>
         <email>Email1</email>
         <phone>Phone1</phone>
         <Number>Num1</Number>
         <Addresses>
              <Address>add1</Address>
              <Address>add1</Address>
              <Address>add1</Address>
         </Addresses>
    <Customer>
    Based on the number of Addresses that exist for the customer, multiple <Address> elements should be added.
    I can't determine number of Addresses at the beginning. It is deterrmined dynamically based on certain condition.
    So each time when the condition is met, I need to get the count of <Address> elements that exist and insert the new one last.
    My logic:
         Switch (case)     ==> Add <Address> only if condition is met
              count ==> count(bpws:getVariableData('outputVariable','payload','/ns1:Customer/ns1:Addresses')) ==> 0 first time
              <Addresses>
                   <Address>add1</Address> ===> Now I need to insert this.
              </Addresses>
    I have the following in my bpel:
    <assign name="AssignInsertAfterExisting">
    <copy>
    <from expression="count(bpws:getVariableData('outputVariable','payload','/ns1:Customer/ns1:Addresses'))"/>
    <to variable="NumberOfAds"/>
    </copy>
    <copy>
    <from expression="'123 street'"/>
    <to variable="nextAddress"/>
    </copy>
    <bpelx:insertAfter>
    <bpelx:from variable="nextAddress"/>
    <bpelx:to variable="outputVariable" part="payload"
    query="/ns1:Customer/ns1:Addresses/ns1:Address squareBrakets NumberOfAds squareBrakets"/>
    </bpelx:insertAfter>
    </assign>
    But with the above I am receiving the folllowing error:
         Assign Operation Misuse.
         The to-spec does not yield any data; insertAfter operation cannot be performed.
    Please check the BPEL source at line number ..
    I can I insert dynamically insert elements into array. I have seen the example provided in samples, but my problem is little different than that.
    Edited by: user10367892 on Aug 4, 2009 3:16 AM

    append is appending value of variable to existing element, instead of creating a new element in the array:
    For Eg:
    Input:
    <bpelx:append>
    <bpelx:from variable="nextAddress"/>
    <bpelx:to variable="outputVariable" part="payload" query="/ns1:Customer/ns1:Addresses/ns1:Address"/>
    </bpelx:append>
    Output if nextAddress = Address2 and if <Address>Address1</Address> already exists
    <Customer>
         <Addresses>
              <Address>Address1Address2</Address>
         </Addresses>
    </Customer>

  • Absolutely nothing happens when I insert Photoshop Elements 8 into computer

    I purchased Adobe Photoshop Elements 8 yesterday. When I inserted into my computer ( I have Windows Vista) absolutely nothing happens. Even when I go to "computer" and click on the cd/dvd drive, it tells me to enter a disc, even though the disc is already in my computer. I took out the Photoshop disc, and tried various other cds and programs...all of them work and register. The photoshop elements is the only one that does not work. How do I fix this???? It is very stressful and I have been on hold for 30 minutes on the help line...not much hope there.

    The help line came through for me! I had to download the trial version and then enter my serial number from my case. Apparantly, I just had a bad disc. Everything is fine and my Photoshop Elements is working correctly!

  • How to insert/delete elements by SAX?

    Hi,
    I have been using JDOM and now I need to implement
    the XML access using Xerces. I was wondering if
    I can insert and delete an element using SAX?
    It seems to me that SAX is used to "read" XML.
    Thanks!

    Yes, you are correct, SAX is used to read XML.

  • Insert an element in a HTMLDocument

    I have a HTMLDocument, and I should want insert, for instance, a <b> element anywhere. How can I do that ?
    Thanks in advance for your help.

    Check out insertString for documents.
    For an example, see http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html pg 4

  • Inserting Link element

    Hi
    I am creating a text link using link element and after adding it in paragraph element.When the link is created it requires ctrl key pressed together with link to operate.Can i insert a link in my text that doesn't require the ctrl key pressed while clicking the link.
    thanks.

    If your text is editable, then it will require the control key to interact with the link (this is so that you can edit the link text without activating the link).
    If you want to interact with the link without the control key, you have to make your text is either non-editable or merely selectable. If you're working with TextFlows directly, you make the text non-editable by setting TextFlow.interactionManager to null, or merely selectable by setting TextFlow.interactionManager to a SelectionManager rather than an EditManager.

Maybe you are looking for

  • How can I get a drop down choice to auto populate another cell?

    Hey there. I have a drop down list of options and for my spreadsheet to do What i need ot to do, I need to assign each choice a different value.  How can I do this so that when I pick "choice 1" it will place a pre determined value in a different cel

  • Network connection to Deskjet 3050A keeps dropping out for a few seconds

    Every few minutes (sometimes only a couple of minutes, sometimes a fair bit longer) an alert pops up in the Notification area of my Windows 7 computer telling me that "Scan to computer is no longer activated. The network connection has been lost" (at

  • I-photo unexpectedly crashing on start-up.

    I get an error saying i-photo has unexpectedly shut down with an error box asking me to send information to apple. As soon as I press any of the buttons Cancel, ignore or send to apple the application shuts down Anyone out there know what is wrong?

  • How to use Extension parameter in BAPI

    Hi, Can anyone provide any clue about how to use the EXTENSION paramenters in BAPI? Thanks. Regards, Chris

  • Rebuild a tree

    I construct a JTree with objects which are extract from a data base. The extraction is filtered. I have to rebuild the JTree when I change the filter because the objects are different under the first stage after the root. Can somebody give me the met