03:06 am - silrayn - Custom Tags and JEditorPane Hello, semi-newbie to intermediate programmer and first time poster here. ^^ I'm having a problem with an applet project. It has something to do with inserting and showing custom tags in a JEditorPane, using a custom button/menu item. I'm utterly confused as to how to do this. Can anyone explain to me? Can it be done by extending StyledEditorKit.StyledTextAction? The example from the book Java Swing 2nd Edition had an example with a link tag but I can't quite understand how it was done. Also, I made a small stopgap solution to reading the tags back but it's a little unsatisfactory. I'm using my own transform filter to transform the document every time there is an alteration of the document and putting it into the setText method of the JEditorPane but it causes some lag in the document. I know I could use an XSLT transformer but that would explode the size of the applet. I know another way to do this is to extend the HTMLEditorKit but I'm totally confused about that. Can anyone help me?
04:55 pm - jennjen I have never done any programming before I started the multimedia design course at Durham College. We have to write a method that draws flowers, (the petals are as wide as the bud but twice as long). I am having trouble with the method for the bud (which is a circle) let alone the petals (which are ovals). I hope it gets easier for me.