Another JEditorPane HTML performance thread

I've seen quite a few posts on the forums about people having serious performance issues using JEditorPane or JTextPane with large text. I haven't seen any solutions or work-arounds mentioned though, so I'm just going to throw this one out there again...
To sum up the issue, it appears that calling setText() on a JEditorPane or JTextPane is terribly inefficient. At the very least when trying to display HTML content. I have an HTML table that I would like to display in my app. It's not unreasonably large (perhaps 1000 small rows), but the setText() method takes anywhere between 30seconds and 1 minute to execute. During this time, the memory footprint of my skyrockets and the second attempt to call setText() will result in a OutOfMemoryException.
The issue seems to be captured in the following bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4203912
However, this bug was closed for 1.5 release of Java, and I'm still experiencing the issue on the latest JRE currently available (1.5.0_05).
The performance as it is now is pretty unreasonable. Does anyone have any sort of work-around? I've heard a custom implementation of the Document mentioned in one of the posts, but no code examples were given.
Does anyone have any further input / help on this issue?
Thank you.

JEditorPane and JTextPane can't handle plain String text directly.
Their M of MVC is Document.
Try preparing a full fledged Document object and set it to them panes.

Similar Messages

  • Yet another Lightroom 3 Performance thread

    I have read other posts on this topic, although I will admit it was not an exhaustive search.  So, apologies if this topic has been covered already.
    Like many others I noticed a performance hit with Lr3.  I also noticed that hit seemed to get worse with every patch, including the latest 3.4 patch.  Things like cropping and adjusting sliders finally became so brutally painful I could not get my work done.
    What makes this potentially unique is my solution.  I went back through my Time Machine backup and restored the Lr3.0 executable file that I originally installed last year.  And, although performance is not what it once was, it was WAY better than the later patches.
    So what's going on here?  What's the point of patching Lr if its going to make the product perform like Nikon Capture?  I read somewhere a post that said there is a more sophisticated rendering process, which is great, I'm all for more sophisticated, but frankly, it seems to be counterproductive, especially since I don't see any real obvious benefit to it.  The pictures I produced with 3.0 are exactly the same quality as with 3.4.  Only I got them done way faster.
    So if you get to the point that the newer patches are interfering with your workflow, which of course runs counter to the whole point of Lightroom in the first place, I had reasonably good success going back to the old executable file, which presumably uses the older, but faster and plenty acceptable rendering process.
    Any news, observations, and advice will be appreciated. 

    I have a MacPro with a Quad Xeon, 5GB RAM.  I boot and run apps from a OCZ Agility 2 SSD with plenty of space. 
    I was partly motivated to upgrade to the SSD because of the growing performance issues in Lr.  My catalogs are stored on the SSD, and I did notice an increase in performance starting Lr and reading files.  The problems start when I process images.
    When I first started using Lr, I was able to zip through huge sets easily.  When processing images in Lr, generally I stick to White Balance adjustments, fills, and cropping.  The process at first was excellent.  I could do all the adjusting and cropping without any sort of delay loading or changing the image.
    My workflow involves importing DNG files produced with DxO Optics Pro.  I wonder if embedding the RAW image setting is causing the performance lag I am noticing when working with the images...

  • Puting into JEditorPane HTML file

    I want to put into JEditorPane HTML file from my local drive.
    How to do that?

    Hear is example try it.
    *(c)pesilEX - 2007
    * [email protected]
    * Let�s make a open source software world
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.URL;
    public class pesilEX extends JFrame implements ActionListener{
    JPanel cp;
    // Declaring a url to get file name
    // Also this can use to get url form online
    public URL helpURL;
    JScrollPane scrol;
    JEditorPane htmlPane;
    JButton btn1;
    // This string is use to store file name
    String fileName;
    public pesilEX(){
         cp = (JPanel)getContentPane();
         cp.setLayout(null);
    htmlPane = new JEditorPane();
    htmlPane.setEditable(false);
    scrol = new JScrollPane();
    scrol.getViewport().add(htmlPane);
    scrol.setBounds(10,10,370,300);
    cp.add(scrol);
    btn1 = new JButton("View!");
    btn1.setBounds(260,320,120,20);
    cp.add(btn1);
    btn1.addActionListener(this);
    public void actionPerformed(ActionEvent e){
         if(e.getSource()==btn1){
         // File name you can replace is as you want
    fileName = "pesilEX/help.htm";
    // Import html file to java
         helpURL = getClass().getClassLoader().getResource(fileName);
    try{
    // Set url to JEditorPane
         htmlPane.setPage(helpURL);
    catch(Exception er){
         System.out.println(er.toString());
    public static void main(String[] args){
    pesilEX pesil = new pesilEX();
              pesil.setSize(400,400);
              pesil.setTitle("pesilEX JHtml viewer");
              pesil.setResizable(false);
              pesil.setVisible(true);
    }

  • JEditorPane/HTML image loading delay

    I am using a JEditorPane to render HTML to a graphics buffer which I then write as an image file. Since HTML loading is asynchronous I wait for the "page" property change event after calling setPage() before using print() to capture the rendered HTML to a graphics buffer. Unfortunately, the "page" property change event is fired after the HTML is loaded but before images referenced by the HTML are rendered. As a result, the image that I capture has little picture icons in place of the graphics. If I sleep for a short time before capturing the image, it works fine. However, sleeping is not an acceptable solution as there is no way to predict how long I will need to sleep because it varies based on system load and complexity of the HTML being rendered. Is there any way to check if an HTML document has completely loaded including all the images? Does anyone have a better way to capture an image of a rendered HTML document that would not have this problem?
    Below is a code snippet that shows what I am trying to do.
    static final JEditorPane p;
    static final Object done;
    static {
        done=new Object();
        p=new JEditorPane();
        p.setSize(1728, 2156);
        p.addPropertyChangeListener("page", new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent evt) {
            synchronized(done) {
                done.notifyAll();
    static void capture(File htmlFile) {
        BufferedImage img=new BufferedImage(1728, 2156, BufferedImage.TYPE_BYTE_GRAY);
        synchronized(done) {
            p.setPage(htmlFile.toURL());
            try {
                done.wait();
            } catch(InterruptedException e) {}
    /* without this code images are not rendered
        try {
            Thread.sleep(100);
        } catch (InterruptedException ex) {}
        Graphics g=img.createGraphics();
        g.setColor(Color.white);
        g.fillRect(0, 0, 1728, 2156);
        p.print(g);

    HI Sarnoth,
    I'm trying to do something similar and have used your code, but it doesn't work completely for me. Do you see anything that I'm doing wrong? I am trying to save the HTML page as a JPEG image. This is my code and I'm having problems. Anyone have any ideas? It is dying on the je.encode(bi) line. Also, for some reason, if I uncomment the commented out lines, it hangs. Any ideas on that one too?
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.JEditorPane;
    import com.sun.media.jai.codec.ImageCodec;
    import com.sun.media.jai.codec.ImageEncoder;
    import com.sun.media.jai.codec.JPEGEncodeParam;
    public class HTMLPageToImageConverter
         private HTMLPageToImageConverter() {
         static final JEditorPane p;
         static final Object done;
         static {
             done = new Object();
             p = new JEditorPane();
             p.setSize(1728, 2152);
    /*         p.addPropertyChangeListener("page", new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent evt) {
                 synchronized(done) {
                     done.notifyAll();
         static void GenerateHTMLBufferedImage(File htmlFile, BufferedImage img) {
             img = new BufferedImage(1728, 2152, BufferedImage.TYPE_BYTE_GRAY);
             synchronized(done) {
                 try {
                      p.setPage(htmlFile.toURL());
                 } catch(IOException e1) {}
    /*             try {
                     done.wait();
                 } catch(InterruptedException e) { System.out.println("GenerateHTMLBufferedImage InterruptedException"); }
             Graphics g = img.createGraphics();
             g.setColor(Color.white);
             g.fillRect(0, 0, 1728, 2152);
             p.print(g);
         public static boolean SaveHTMLFileToJPEG(String htmlFile, String jpegFile) {
              try {
                   BufferedImage bi = null;
                   GenerateHTMLBufferedImage(new File(htmlFile), bi);
                   FileOutputStream fos = new FileOutputStream(jpegFile);
                   JPEGEncodeParam jp = new JPEGEncodeParam();
                   ImageEncoder je = ImageCodec.createImageEncoder("JPEG", fos, jp);
                   je.encode(bi);
                   fos.close();
              } catch(FileNotFoundException fnfe) { System.out.println("SaveHTMLFileToJPEG FileNotFoundException"); }
                catch(IOException ioe) { System.out.println("SaveHTMLFileToJPEG IOException"); }
              return true;
    }Called from other code
    HTMLPageToImageConverter.SaveHTMLFileToJPEG("d:/page1.html", "d:/page1.jpeg");
    ...Thanks in advence,
    --Ed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Preferred size of JEditorPane/ HTML page

    Hi,
    I've loaded an HTML page in a JEditorPane. Since I'm using a layout manager with absolute positioning, I need to know the pane's preferred size.But the preferred size I get is just about (6, 6), although it has a big picture in it. I tried validate() first or to add it with (1,1) to have it set up properly (visible etc.) and then resize it afterwards, but it had no effect. Is there a way to get a preferred size of an HTML page?
    Thanks a lot.
    Greets
    Puce
    Note: Using another layout manager is not a option, since this is a very specialized task.

    I could use this as well. I'm tiling JEditorPanes vertically inside a JPanel using BoxLayout. The problem is that I need to limit the width of the panel, so I need to adjust the sizes accordingly. Any suggestions? I'll give another duke...
    Max

  • Performance - Threads - Sys Resources = What's the CPU Speed n RAM ?

    Hi all,
    I am writing a small program based on quick port scanning (pure Java). For that purpose I'm using threads to make the connections. I am using multiple threads in parallel. While running 64 threads theres a 10% CPU usage whereas on 128 threads theres a 60% usage (On AMD 500 Mhz).
    Now obviously I dont want anybody with a 233 Mhz running my program with 128 threads and surely not the one with 1 Ghz being limited to only 128 threads. Thats why I need to find out the clients resources like CPU speed, total RAM etc. How do I do that ?
    Someone suggested using JNDI for windows registry. I'm not sure how to do it that way. (if anyone can provide me a little code?) Is there another way round to this problem?
    Any help appreciated.

    My friend
    please try to understand the problem here is not of OPTIMIZATION OF THREAD SERVICES but the OPTIMAL NUMBER OF THREADS TO BE USED at certain processor speeds.
    fine I agree about different performances of processors (pentium 1Ghz != AMD 1Ghz)
    but surely (pentium 1Ghz ~ AMD 1Ghz ~ other 1Ghz).
    and anyway in my program I'm taking the performance margins by 200Mhz to be on the safer side
    i.e.
    x1-x2 no of threads for say 300-500Mhz,
    y1-y2 no of threads for 500-700Mhz,
    z1-z2 no of threads for 700-1Ghz. Get the point.?
    Heres an incomplete example of my prog (if now anyone can make out a fair idea of the problem) :
    import java.net.*;
    import java.io.*;
    class QuickPortScan
    public static void main(String args[])
    long tstart,tend;
    ScanThread scant=null;
    String name=null,ok=null;
    /* int tnum; This is the number of threads I want to calculate */
    System.out.println(" Quick Port Scanner BLAH BLAH BLAH!");
    System.out.print("-------------------BLAH BLAH BLAH!--------------\nEnter 'y' To Proceed: ");
    try{
    ok = new BufferedReader(new
    InputStreamReader(System.in)).readLine();
    if(ok.equals("Y")||ok.equals("y")){}
    else{ System.exit(0); }
         System.out.print("Enter The HOSTNAME: ");
         name = new BufferedReader(new
         InputStreamReader(System.in)).readLine();} catch(IOException e){}
         System.out.println("Scanning 65,535 Ports, Please Be Patient...\n");
    /* Now I would like to get the CPU speed here somehow
    and then calculate tnum and pass it as param below */
    tstart = System.currentTimeMillis();
    for(int i=1;i<=tnum;i++)
         scant = new ScanThread(name,i /* ,tnum */);
         scant.start();
    try{ scant.join(); }
    catch(InterruptedException ine){ System.out.println("Main Thread Interrupted!"); }
         tend = System.currentTimeMillis();
         double ttaken = (tend-tstart)/1000;
         if(ttaken>59)
         System.out.println("Total Time Taken For Scan: "+(ttaken/60)+" minutes.");
         else System.out.println("Total Time Taken For Scan: "+ttaken+" seconds.");
    } //END QuickPortScan class
    class ScanThread extends Thread
    String name;
    int port,tno;
    /* int nloop; This is the number of sleep-break loops calculated according to number of threads */
    Socket sock;
    static boolean scanFirst = true;
    boolean breakOut = false,breakIn = false;
    public ScanThread(String nm,int i /* ,int j */)
         name = nm;
         port = i;
         tno = i;
    /* nloop = (j * whatever + whenever - together); */
    public void run()
         for(int round1=1;round1<=32 /*nloop otherwise*/;round1++)
         if(breakOut==true){ break; }
         for(int round2=1;round2<=32;round2++)
    try{ 
    /* SOCKET
    CONNECTION
    IMPLEMENTATION */
         }     try{sleep(75);}catch(InterruptedException ie){}
    public synchronized void portInc(int open)
         if(open==1){System.out.println("Port "+port+" Vulnerable!, Scanning...");}
         if(port==16384){System.out.println("25% Completed, Scanning Further...");}
         else if(port==32768){System.out.println("50% Completed, Scanning Further...");}
         else if(port==49152){System.out.println("75% Completed, Scanning Further...");}
         port = port + nt; // nt is the NUMBER OF THREADS
         if(port>=65536){if(scanFirst==true){System.out.println("*****SCAN COMPLETE!*****");
         scanFirst=false;} breakOut=true; breakIn=true;}
    } // END ScanThread class

  • How to play a symbol animation from another Edge.html file

    All-
    So I have two Edge files
    home.html
    level1.html
    I'd like an animation to play in home.html once a button is clicked inside of level1.html
    How would I pass the click event to the loaded page?
    Thx,
    `Z

    In AS2 you can use loadmovie to load a .swf into another .swf.
    http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dic tionary423.html
    In AS3, something like this:
    http://www.kirupa.com/forum/showthread.php?t=269964
    Best wishes,
    Adninjastrator

  • JEditorPane HTML link in the same page

    Hi,
    I want to show an HTML page in JEditorPane.
    The HTML page have <a> tags that link to a bookmark in
    the same page, but I can�t show this because I get an error
    like this:
    MalformedURL or similiar.
    I try to do somethig like this:
    public void hyperlinkUpdate(HyperlinkEvent ev)
    ...Editor.setPage(ev.getURL());
    or
    ...Editor.setPage(ev.getDescription());
    without results.
    How can I listen for hyperlinksEvents than link in the same page.
    Thanks

    they dont want to see the first report.
    Is there a way in which the Prompts are also display along with the second report?Then create the same prompt on the second report also.
    Cheers
    Nawneet

  • JEditorPane html display problem

    Hello,
    I'm running a JEditorPane inside an Applet for a project im working on. The source included below is an over-simplified version that produces the same results. The problem i'm having is that the html displays in an odd fasion in the JEditorPane.
    Since I cant include a screenshot let me attempt to describe it. Regardless of the FONT face in the html the paragraph displays as you would expect in the JEditorPane until the last line. The last has extra horizontal space separating it from the rest of the paragraph. This seems completely arbitrary. There is nothing in the html code near the line break.
    I've linked this problem to the font face attribute tags. Regardless of the font I choose it displays improperly. Any idea on how to remove this spacing problem in my JEditorPane?
    I'm using NetBeans 3.5.1 and SDK 1.4.2. I've tested this problem in the AppletViewer as well as online in a web browser.
    * CourierTest.java
    * Created on July 24, 2004, 8:28 PM
    import java.awt.Font;
    import java.io.*;
    * @author LD Miller
    public class CourierTest extends javax.swing.JApplet {
    String html;
    /** Initializes the applet CourierTest */
    public void init() {
    initComponents();
    html = "<P class=MsoNormal style=\"MARGIN: 0in 0in 0pt\"><FONT size=3><FONT face=\"Times New Roman\">What is event-driven programming?It is a <I>computer programming</I> paradigm that is different from traditional, sequential programming. In traditional, sequential programming, one could follow the program and plot out exactly the sequence of execution of the program. However, in event-driven programming, it is not possible to plot out exactly the sequence of execution of the program since flow of the execution is determined by the events. Event-driven programming allows a program to interact with users and re-act to user-generated events in a more efficient and effective manner. </FONT></FONT></P>";
    jTextPane1.setContentType("text/html");
    jTextPane1.setText(html);
    /** This method is called from within the init() method to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextPane1 = new javax.swing.JTextPane();
    jScrollPane1.setViewportView(jTextPane1);
    getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
    // Variables declaration - do not modify
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextPane jTextPane1;
    // End of variables declaration

    1) I have complex html page (having lot of html controls).
    .when i resize the container, controls gets overlapped.
    shall we avoid this? to my experience JEditorPane deviates from the display of typical browsers when HTML is displayed that contains complex table layouts (tables nested in other tables or non-explicit or non-existent size expressions in tables for instance). I recommend to try and simplify layout complexity as a workaround. Start with a most simple page and increase complexitiy until display gets unsatisfactory.
    2) I used JEditorPane. My html contents are stored in
    text. i called setText()...whether i need to use
    HTMLDocument, HTMLEditorKit etc...to render
    html in better way...I did not understand your second point, what is the question?
    Ulrich

  • JEditorPane html

    I have a simple JEditorPane set up so that I can view source code and rendered version of an html page. I toggle between rendered and source view by setting the content type:
    setContentType("text/plain") - displays source code
    setContentType("text/html") - dispalys the rendered view
    The problem I have is with offsets. It would be natural to me that the first letter in the rendered view starts at 0 and ends at 1. That's not the case however. In any test page I have, the first letter has offset 3-4. The same things happen inside the text as well. When I count offsets by hand, they are different that what getSelectionStart() and getSelectionEnd() show.
    I'm assuming that there must be some characters that get rendered by JEditorPane but don't get displayed - but quite frankly I have no clue as to why it's happening.
    Any ideas would be appreciated. I wrote a simple algorithm (irrelevant to this post) that uses the rendred view offsets to mark things in the source view, but since my rendered view offsets are screwed up - I'm not able to mark things properly.
    Thanks
    M

    Have you tried displaying the characters between offsets 0-2 ? It could give you an idea of what it concerns...

  • JEditorPane HTML preview

    Hi,
    I've been working on a small class which will render out HTML. There's a few examples on the web, all of which read an HTML file from a URL. JEditorPane works fine for that use, but when I try to specify HTML content as a string the page doesn't get displayed correctly. It's a bit hard to describe but basically if you specify a document as type text/html it tries to generate it's own <html>, <body> tags etc and leaves yours out. If you do happen to specify your own then it just ignores your page content.
    I need to do it that way as the HTML doesn't exist at a URL, only in memory. Does anyone know of a workaround or has anyone else experienced this problem? I'm developing the application using JDK 1.4.0 under Win2k.
    Thanks

    Yeah that's pretty much exactly what I'm doing, although it's pulling the HTML content from the database first.
    Your code outputs this:
    <html>
    <head>
    </head>
    <body>
    <b>Bolloxs</b>
    </body>
    </html>
    As you can see, it's being altered by the application and has had the <head> tags added. In my application it's doing even more, stripping everything inside of the <body> tags.
    I've found the reason though...it doesn't seem to like a meta tag.
    This content:
    String html = new String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>This is my title</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"></head><body leftmargin=\"0\" topmargin=\"0\"><table width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>Page content goes here</td></tr></table></body></html>");
    Outputs:
    <html>
    <head>
    </head>
    <body>
    <p>
    </p>
    </body>
    </html>
    Whilst this content (with the meta line removed):
    String html = new String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>This is my title</title></head><body leftmargin=\"0\" topmargin=\"0\"><table width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>Page content goes here</td></tr></table></body></html>");
    Outputs:
    <html>
    <head>
    <title>This is my title </title>
    </head>
    <body leftmargin="0" topmargin="0">
    <table border="0" cellpadding="0" width="600" cellspacing="0">
    <tr>
    <td>
    Page content goes here
    </td>
    </tr>
    </table>
    </body>
    </html>
    Weirdness!?

  • Running SSIS Package from another server and performance

    I've built an SSIS package that integrates data from one SQL Server 2008 database to another SQL Server 2008 database.  However, since I needed to leverage some SSIS 2012 components, I've installed the package on another SQL Server 2012 in the network.
    Is there a performance hit (positive or negative) if I run a SSIS package on a SQL Server that isn't the source or destination server?

    Hi,
    we cannot tell for sure. It depends on so many things, amount of data to be transferred, processing needs to be done, overall capacity of the server, workloads that can be handleld by the servers, etc. The mos important aspect but nt the only one is the
    amount of data to be access / tranformed / processed / transmitted to the destination.
    This is a typical case for a test done representative amount of data in a load test on your side.
    -Jens
    Jens K. Suessmeyer http://blogs.msdn.com/Jenss

  • Caret position in JEditorPane HTML

    Hi everyone,
    I need the position of caret in HTML source on JEditorPane. I
    The value of getCaretPosition() seems not what I wanted. CaretEvent.getDot() gives the same value of getCaretPosition. These methods only gets position on the view.
    Please help! Thanks a lot!

    It's not possible. HTMLParser creates Document's structure (Elements tree) from html text but it has no relation to content.
    Position in source html isn't correct because it may contain unnecesary space between tags or tab chars or \n chars which are ignored.

  • ANOTHER N97 INTERNET RADIO THREAD N97

    Hi
    I have now owned the nokia n97 for 2 months, in this time I have spent 1-2 hours per day trying to find a work around for internet radio so I can listen at work or in the car/ on foot.
    somebody tell  me I can not do this, I have spent so much time now trying to get a certain station to work correctly, here is the station:
    Help me to get this link to play: http://www4.talksport.net
    at present I have tryed:
    http://www.vradio.org/index.php?js=a
    http://download11.getjar.com/downloads/web/pub/592​37/VRadio.jar
    http://www.vesihiisi.org/symbian/
    http://handheld.softpedia.com/progDownload/LCG-Juk​ebox-Symbian-Download-24344.html (lcgjukebox)
    non of these support my favorite station
    during my intense googling and trial and errors using various links with various players I have only been able to make a small amount of progress, and the fact that I have bothered to write this is testament to my anger and building frustration at nokia and the so called flagship n97. it is especially painful when my previous phone the n95 did almost everything asked of the device, ok you get the point I am very very angry.
    in my continuing battle with this program I have been able to make some baby steps:
    http://www.moodio.fm
    mms://utv-talksportUK.wm.llnwd.net/utv_talksportUK​?h=7db17f50187ccb367fa11332af5dfba8 (nokia 5800 stream working)
    using moodio AND MY NOKIA 5800 I am able to find about 15 different streams that allow me to listen to my favorite stream at the top of the page. all I have to do is register save the links on my pc, then log into my moodio account from my phone, click the link and real or nokia player boots up and the station will stream. HAPPY DAYS!!
    NO not happy days because I thought a good upgrade would be the n97 which absolutely will not play the stream, I have the latest firm ware update and java and everything else is enabled on the phone, also won’t connect using my home network!
    ok so the rage against the machine continues, I have have come up with this: (using N97)
    http://coreplayer.com/ (currently only 3rd edition symbian but works if you force it)
    http://utv-talksport.wm.llnwd.net/utv_talksport (put this link into coreplayer)
    so I am now at this point, and what a very long time it has taken to get here, anyway this will stream for 5 - 10 minutes if your lucky then the application will loose connection and you have to exit and restart, which I have been doing but I am ready to throw my phone into the river because of this massive inconvenience.
    the time I have put into this operation is unhealthy, yes I am sad but I just want to listen on my nokia n97. I am almost ready to give up on nokia and go to the iphone as my misses has plenty of apps that play this stream correctly which is even more annoying.
    I don’t want to go to another device as I love the n97 screen and pull out keyboard but what can I do aaaaaggghhh!!!!!
    look how many others want this feature: the only station that tells it how it is: political , racist, conspiracy theries, terrorist, alternative views and general chat  after 10pm of course. its all football before that butwhat a listen this station is!!
    http://www.google.co.uk/search?q=TALKSPORT+N97&ie=​utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-USfficial&client=firefox-a
    /discussions/search?board_id=smartphones&submitted​=true&sort_by=-date&q=INTERNET+RADIO
    back to the point:
    here are some other links that will play in core player but not real player,lcg,virtual, flv player......
    http://utv-talksport.wm.llnwd.net/utv_talksport?MS​WMExt=.asf
    http://www3.talksport.net/talksport-liveUK_LL.asx
    mms://utv-talksportUK.wm.llnwd.net/utv_talksportUK​?h=7db17f50187ccb367fa11332af5dfba8
    http://www3.talksport.net/mediaplayer/../talksport​-liveUK_LL.asx
    http://194.46.16.201/talksport-liveUK_LL.asx
    http://new.talksport.net/mediaplayer/../talksport-​liveUK_LL-preroll.asx
    http://utv-talksport.wm.llnwd.net/utv_talksport
    http://www3.talksport.net/mediaplayer/../talksport​-liveUK_LL-preroll.asp?p=1&f=0.5276715
    http://utv-talksportuk.wm.llnwd.net/utv_talksportU​K
    http://new.talksport.net/mediaplayer/../talksport-​liveUK_LL.asx
    http://utv.rd.llnwd.net/utv_talksportUK
    nokia please help me, if not the radio just this one station please!!!!!!!!!!!
    Solved!
    Go to Solution.

    Hi andyfoz
    As an update to this post, I've just loaded a beta version of the Skyfire web browser (S60 v5 - http://www.skyfire.com/), which plays the video content on the BBC Sport internet pages & the Listen Live media player on the Talksport.net website.  Definitely worth a go!

  • Named Anchor in JEditorPane HTML

    I am loading an HTML string into a JEditorPane.
    The string has some named anchors (<A NAME="blah">) that reference other locations in the HTML string.
    Because I am loading the HTML string by using JEditorPane.setText, the named anchors do not work. This seems to be a problem when my HyperLinkListener tries to find the target URL.
    Does anyone know how to solve this problem?

    Did you find a solution for this problem in the meantime? I'd like to implement an online help feature in my newest program. I wrote a HTML text with anchors/links and the program loads this text to an JEditorPAne witch HTMLEditorKit by using the EditorPanes 'read' method. But all I got are HyperLinkExceptions from the HyperlinEventListener.
    regards, hgw2

Maybe you are looking for