How can i create and paste my own tags into source page of a html editor

I download ekit and try to customize.
I wrote a similar code:
TagEditor extends HTML
, and inner class:
ExtendedTag extends Tag
by following similar structure with javax.swing.text.html
I added my own tags into tagList in HTMLUtilities class which is in com.hexidec.ekit.component. Because it is initialized three times when i run the program.
I add a button to multitoolbar, and wrote a insertMyTag method in class EkitCore:
private void insertMyTag() throws IOException, BadLocationException, RuntimeException {
int caretPos = jtpMain.getCaretPosition();
// htmlKit.insertHTML(htmlDoc, caretPos, "<VAZIFE>", 0, 0, TagEditor.ExtendedTag.VAZIFE);
jtpMain.setText("<HTML><BODY><VAZIFE></BODY></HTML>");
jtpSource.setText(jtpMain.getText());
jtpMain.setText does display in the source editor but the default HTMLEditorKit creates the unkown tags and inserts them into the html view output with box-like borders. I want to keep the tags in the source but remove them from the output view so the user only sees the normal HTML output and my app sees the XML tags.
What do I need to do in insertMyTag to turn off the strange display of
unknown tags? Is there an easier way to do this?
Thanks

Or, take a ScreenHunter image of the list and email that to yourself.

Similar Messages

  • How can i copy and paste 100 item lines into Purchase order (ME21N) ?

    hi,
    Can anyone help me to use the copy and paste from Microsoft excel ?
    1. i have 100 line items in excel for material item.
    2. I copied the 100 lines in excel and paste into PO creation transaction code ME21n line items.
    3. In one shot, i only successful copied 35 lines.
    How can i manage to copied all line items into PO items in one shot ?
    Is it possible to copied the excel line items into PO screen line item more than what we can see in the screen ?
    thanks

    Hi,
    No, it can't! So far in the current version of mySAP Business Suite you can not do it when you create any document, you only can copy the line items as mush as the screen can display! you said you can copy 35 items, I thought your screen resolution must be bigger than 1024X768 (it's my screen resolution)!
    So I hope maybe SAP AG can solve the problem in the future, then we can copy the items as mush as we want!
    Good luck!
    Z.T

  • How can I copy and paste a local variable into a custom type?

    I have a container variable that I want to copy and paste into a custom data type. So I open TestStand's Type window, expand Custom Data Types then right click on <Right click to insert Type> and the Paste option in my popup menu is disabled. How do I get my exact data type there?
     

    Hi
    A workaround :
    Create a container type in the custom data types.
    Under that i could copy the container.
    Hope it helps.
    Ravi

  • How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    You are trying to copy a link, it is most likely in a different color such as the words "Microsoft's own forums" in his post. In Word highlight the word or words, control click on them, select Hyperlink, then Edit Hyperlink, then delete the link from the top box. It will then have a button asking if you want to "Remove Link", click on it.

  • How can I copy and paste a pdf file from my picture file and paste onto a document?

    How can i copy and paste a pdf file onto a document.  I am trying to place and article onto my
    Reverbnation Press page.  They only give you the option to either place a url link or paste a document.  There
    is no uploading for the Press page.  thanks, elena

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • How can I copy and paste text into Word in Acrobat 9 Pro

    How can I copy and paste text into Word from Acrobat 9 Pro?

    You might find it easier to export the file to Word under File > Export > Word in Acrobat 9.

  • How can I copy and paste the art work from album covers?

    How can I copy and paste the art work from album covers?

    I don't think the list style transfers. Copy and paste the text in to Mail, select it and then choose "Insert Numbered List" as a work around.

  • How can I copy and paste a pdf form onto my Mavericks Clipboard. I only see word-wrapped text.

    How can I copy and paste a pdf onto my Mavericks Clipboard. I only see word-wrapped text.

    Yes, Thank you for using the term Place. You moved my focus off the clipboard, and Place set me back on course. Somewhere, the terms Copy and Paste need to be tagged to Place and Export. I'm a database designer who only uses Illustrator for forms the database fills. My need isn't yet met, but the rest should come with reading the right references. Thanks Larry!

  • How can I copy and paste a simple document

    how can I copy and paste a simple document?

    highlight the text.  Command+c to copy, command+v to paste.

  • HT201441 how can i create and audio cd from a music track I have on my ipod

    how can i create and audio cd from a music track I have on my ipod

    This is how:
    Go to:
    'File'
    'Share'
    'Quicktime'
    'Expert Settings'
    'Audio as AIFF' or pick your brand of compression.
    Drag and drop the resulting file into iTunes.
    Enjoy!
    P.S. - You didn't need to delete the video but I think that'll be okay.

  • How can I copy and paste table cells from Pages into InDesign with minimum reformating?

    How can I copy and paste table cells from Pages into InDesign with minimum reformating?

    Do you mean you want to retain the formatting from Pages, or retain formatting already applied in ID?

  • How can I copy and paste my edited Photo in photoshop elements 12?

    How can I copy and paste my edited photo from photoshop elements 12 into a word document?

    In full Editor:
    Go to Select menu>all
    Go to Edit menu>copy to put it on the clipboard
    Go to your destination document>Paste
    Hope that this works for you as well.

  • How can I copy and paste a URL address?

    How can I copy and paste a URL address?

    Do you use chrome? Just double tap on the link and you will get the cut/copy options.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • How can I copy and paste a long page here without using email?

    How can I copy and paste a long page without using email?

    Thanks for replying. Actually I want to copy/paste a recipe from a website so I can keep the recipe. On p 39 it tells how to copy/paste, which I do a lot already, but it doesn't tell where to paste it so I can access or print it whenever I want. It's kind of a long recipe. Too long to type out. Any ideas for that?

  • How can I copy and paste using 'CTR "C" and "P"?

    Hi Guys,
    How can I copy and paste using 'CTR "C" and "P"?

    Press Command and V instead of Control and P.
    (110450)

Maybe you are looking for

  • Calling Stateless Session Bean in Sun App Server8.1

    /*In this code I am getting NullPointerException when I am trying to call create() method in home object If anyone knows please tell me how to solve this problem Thanks*/ package caller; import java.io.IOException; import java.rmi.RemoteException; im

  • Web Cam over ExpressCard USB 3.0 Hub

    Hello everyone, I'm doing a digital sculpture piece which involves a few webcams. I'm trying to connect three webcams (not using the internal webcam) on my macbook pro. I purchased a usb 3.0 card from SIIG so give me two more ports. At first, it didn

  • My apple ID is been disable what do I do?

    my apple ID is Been Disable what do i do

  • I can use Ipad 3g in india

    Hi, I am thinking to buy a Ipad 3g with AT&T. Can I use this Ipad in India with Airtel or Vodafone network?

  • Suggestions for updates?

    I'd like to make a suggestion for the next update. Can the the icons at the top of the screen be made to where if u touch them it takes you to the menu to change their status.  Especially the wifi and Bluetooth icons.  These menus are buried and take