Problem using the setPage(String url) of JEditorPane

Hi all !
I'm developping a text file generator which generates a text file and use a viewer to display the content of this text file.
The first time, it works correctly, it displays the text file content but the others times it doesn't work correctly, the first text file content remains displayed.
It seems that the setpage(String url) method doesn't work correctly.
Does anyone know this problem ?
In advance, thanks a lot.
Best regards,
Farid.
Here is the code of the viewer:
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.lang.*;
public class ViewerQCM extends JPanel {
     private JPanel panelSouth;
     private JLabel titreLabel;
     private JButton genererQCMButton;
     private JEditorPane editorPane;
     private JScrollPane scrollPane;
     public ViewerQCM() {
          JFrame frame = new JFrame("G�n�rateur de QCM");
          setLayout(new BorderLayout());
          panelSouth = new JPanel();
          panelSouth.setLayout(new FlowLayout());
titreLabel = new JLabel("G�n�rateur de QCM", SwingConstants.CENTER);
          editorPane = new JEditorPane();
          editorPane.setContentType("text/plain");
editorPane.setText("Cliquer sur le bouton \" G�n�rer QCM \" ");
          editorPane.setEditable(false);
          genererQCMButton = new JButton("G�n�rer QCM");
          genererQCMButton.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
          GenerateurDeQCM.getInstance().init();
          GenerateurDeQCM.getInstance().generateQuestionnaire();
                    try {
editorPane.setPage("file:" + AccesBase.getString("generateur.QCM"));
                    catch (IOException ex) {
                         ex.printStackTrace();
LogFile.getInstance().write("Exception *** IOException caught in constructor ViewerQCM() ***");
               LogFile.getInstance().write(ex.getMessage());
               LogFile.getInstance().flush();
          scrollPane = new JScrollPane(editorPane);
          add(titreLabel, BorderLayout.NORTH);
          add(scrollPane, BorderLayout.CENTER);
          panelSouth.add(genererQCMButton);
          add(panelSouth, BorderLayout.SOUTH);
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.getContentPane().add(this);
frame.pack();
frame.setSize(500,600);
frame.setVisible(true);
     public static void main(String args[]) {
          new ViewerQCM();
}

hi,
there is some problem with JedtorPane when you update the page. Image or not updated all the time because the buffer keep the old image and does not update it. The problem is that class got to much protected field so you cannot change nothing. It is a bug since Two years and no body as correct it.

Similar Messages

  • Could not complete the command because of a problem using the Adobe Color Engine

    Hi all
    This bizarrely started this morning - completely out of the blue - and I've no idea why.
    Setup: Mac 10.8.2 / Creative Suite Premium PhotoShop CS5 extended (patched to 12.04)
    Am working on images exported from LightRoom 4 (16bit A3 Pro Photo RGB PSDs) in PhotoShop CS5.
    As part of my image grading process I have a PhotoShop Action that does the following: copy layer to new document (document respects all of copied layer settings) > Image > Adjustments > HDR toning > apply a certain HDR preset > copy to resultant image back to original doc > set opacity as 40%.
    Totally out of the blue, after having this action for about 2 months, this morning I start getting a warning dialog of "Could not complete the command because of a problem using the Adobe Color Engine" and the action fails. The failure seems to take place at the 'make document' part of the action and seems to somehow be related to the contents of the clipboard.
    I've tried trashing and re-creating the action. It works first time out fine and then - on the next image - errors again.
    At present I can only safely carry out the work 'manually' by completing all the actions myself.
    I can think of no settings that have changed and the OS hasn't been updated in a while.
    I have found one other thread on a similar problem in PhotoShop Elements, but no definitive solution.
    Any help appreciated as I have a shedload of stuff to process.
    Best wishes
    TP

    OK: trash of prefs didn't work. Tried thrice. Re-created orig action. same problem.
    BUT!
    Your 'Image > Duplicate' suggestion does seem to work. If I use that in a new action as the method for creating the HDR version doc (instead of 'Select > Copy > New > Paste), it seems to work.
    Will try that out this afternoon, but for now: WIN!
    Many thanks for the suggestion!
    TP

  • Problem using the FederatedSearch / Result set empty

    Hello,<br>
    <br>
    I've the following problem using the FederatedSearch:<br>
    In my KM-Folder I've two documents.<br>
    I created a simple search AbstractPortalComponent to search in the special KM-Folder.<br>
    If the query is "*" I will get the right number of documents.<br>
    But If I will access them the iterator is empty...<br>
    Please see the code below:<br>
    <br>
    Best regards<br>
    Klaus<br>
    <br>
    <br>
    IIndexService indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);<br>
    <br>
    SearchQueryListBuilder sqb = new SearchQueryListBuilder();<br>
    <br>
    sqb.setSearchTerm(query);<br>
    IQueryEntryList qel = sqb.buildSearchQueryList();<br>
    RidList ridList = new RidList(); <br>
    ridList.add(RID.getRID(OR_KM_ROOT_PATH + "/" + OR_KM_CURRENT_PATH));<br>
    ridList.add(RID.getRID(OR_KM_ROOT_PATH + "/" + OR_KM_ARCHIVE_PATH));<br>
    IResourceContext resourceContext = new ResourceContext(user);<br>
    IFederatedSearch federatedSearch = (IFederatedSearch) indexService.getObjectInstance(IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);<br>
    IFederatedSearch search = (IFederatedSearch) indexService.getObjectInstance(IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);<br>
    ISearchSession session = federatedSearch.searchWithSession(qel, ridList, resourceContext, null, null);<br>
    response.write("-"+session.getTotalNumberResultKeys()); ### writes 2-ok-<br>
    response.write("- "+session.getNumberResultKeys()); ### writes 2-ok-<br>
    ISearchResultList sresults = session.getSearchResults(1,session.getTotalNumberResultKeys());<br>
                   <br>
    ISearchResultListIterator iter = sresults.listIterator();<br>
    response.write("> "iter.hasNext()"<br>");          ### writes "false"!???
    <br>               
    while (iter.hasNext())<br>
    {<br>
    ...<br>
    }<br>

    The plan is to be running with more than just two sites (though at the moment I am testing with only two).
    What happens is a client comes on-line and requests a list of sites from a router. It then picks one of the sites from the list and adds that as a replication site in the repmgr.
    It then goes about opening up the database and doing some other bookeeping. Finally we start the replication manager and once the NEWMASTER event is recieved a sync is done.
    So while this DELAYCLIENT/rep_sync is a bit overkill for the two-site test I am doing now, the design I am working towards will be a multi-site setup.

  • Problem using the Write to SGL VI and Read from SGL VI

    Hello Sir, I have a problem using the Write to SGL VI. When I am trying to write the captured data using DAQ board to a SGL file, I am unable to store the data as desired. There might be some problem with the VI which I am using to write the data to SGL file. I am not able to figure out the minor problem I am facing. I am attaching a zip file which contains five files.
    1) Acquire_Current_Binary_Exp.vi -> This is the VI which I used to store my data using Write to SGL file.
    2) Retrive_BINARY_Data.vi -> This is the VI which I used to Read from SGL file and plot it
    3) Binary_Capture -> This is the captured data using (1) which can be plotted using (2) and what I observed is the plot is different and also the time scare is not as expected.
    4) Unexpected_Graph.png is the unexpected graph when I am using Write to SGL and Read from SGL to store and retrieve the data.
    5) Expected_Graph.png -> This is the expected data format I supposed to get. I have obtained this plot when I have used write to LVM and read from LVM file to store and retrieve the data.
    I tried a lot modifying the sub VI’s but it doesn’t work for me. What I think is I am doing some mistake while I am writing the data to SGL and Reading the data from SGL. Also, I don’t know the reason why my graph is not like (5) rather I am getting something like its in (4). Its totally different. You can also observe the difference between the time scale of (4) and (5).
    Have a Good Day
    Regards,
    Krishna
    Attachments:
    LABVIEW_Files.zip ‏552 KB

    As already discussed a while ago, your binary data does not contain timing information. You need to tell it the scan rate so it can reconstruct the time axis correcty.
    From the data, it seems the sample file was recorded at 0.5MHz. Take the inverse and set the time increment. Voila!
    Your sample file is two column data with one colum all zero. You need to set the number of columns to two, to only get the good data in channel 1.
    Your acquisition program contains unecessary FOR loops, you can remove the inner loops without change in result.
    It makes no sense to convert to SGL if you initialize the shift registers with an empty DBL array. You need to initialize with an empty SGL array.
    (The code could be simplified quite a bit more, but this should give you some directions).
    The attached zip shows some ideas (LabVIEW 7.1).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LabVIEW_FilesMOD.zip ‏195 KB

  • No destination URL is defined. Use the followind redirect URL in Transactio

    Hi,
    I am new BSP, I have to display logon screen in my BSP application, i was copied SYSTEM bsp application and tried to run it, but it is throwing error "No destination URL is defined. Use the followind redirect URL in Transaction SICF:  /sap(====)/public/bsp/sap/login/default.htm?sap-url= " . Please let us know what has to be done for the same
    Message was edited by:
            Rams BSP

    Hi Rams,
    see http://help.sap.com/saphelp_47x200/helpdata/en/33/8351f1f3351c41853ea3508cbef0cf/frameset.htm
    and
    http://help.sap.com/saphelp_47x200/helpdata/en/1d/13c73cee4fb55be10000000a114084/frameset.htm
    It sounds like you have not configured the redirect correctly in the ICF.
    Cheers
    Graham

  • I am having a problem using the help menu in Adobe elements 5

    I am having a problem using the help menu in Adobe elements number five.
    When I open the help menu, the dialogue box defaults to an unreadable display font. Is there any way to change that default font? Using the help menus to find a solution is not possible for I cannot read what it is displaying.

    For product, there is an option in preferences where we can set fonts. There are two options: One is application font and other is system font. I am talking about elements 8 which I have but not sure that will solve your problem which is help related.
    Hope Help in 5th version is html which opens in Browser? Please confirm.

  • Does anyone have problems using the  highlights, shadows and sharpness edits in iphoto? Since I uploaded Mountain Lion, those editing tabs do not work!

    Does anyone have problems using the highlights, shadows and sharpness controls in iphoto 11? Since I uploaded Mountain Lion on my
    mac mini, those editing features no longer work!!!!

    Sorry, I booted into 10.8 just to test this, but I only have iPhoto 08.

  • Could not complete the command because of a problem using the Adobe Colour Engine??

    When I am playing back a set of recorded actions, I receive a message that says "Could not complete the command because of a problem using the Adobe Colour Engine". This occurs after I copy a part of an image to paste it onto a new file. It occurs during the "Make" part(making a new file) and I was just wondering how to fix it.

    It's a known (but esoteric) bug in Photoshop CS5 and earlier, seen with grayscale images.  It used to crash utterly, but after I reported it I think they patched Photoshop 12.0.something to avoid the crash.  However, the step still fails when you make a new grayscale image in an action.
    I saw it because I created an action to paste the clipboard into new document, all in one motion.  It virtually always works as long as I have a colored image in the clipboard.  But not grayscale.
    One workaround, which is not particularly convenient, is to turn on prompting for the Make new image step.  I haven't used this workaround for a while, but it used to be that if you confirmed the "File New" operation manually it would continue and work.  I don't know if the workaround is still valid.
    -Noel

  • Could not initialize photoshop because of a problem using the adobe color engine (Win 7)

    Was running the lastest version of Photoshop CS5 and added a second quad graphics card and 4 more monitors.  Now PS will not start and I get the error message "could not initialize photoshop because of a problem using the adobe color engine."
    Computer has 2 NIVDIA Quadro4 NVS420 graphics boards with 8 Samsung SyncMaster 1920x1080 monitors.  If I disable 4 of the monitors CS5 starts normally.  I do not have to remove the added graphics card.  When I extend the desktop again to all 8 monitors I get the error above.
    How do I trouble-shoot the problem?  Is it Photoshop, NIVDIA or Windows 7?

    Well, not exactly a full solution yet (at least for my setup), but I am certain now that this issue is (mostly) caused by nVidia's drivers. You may be able to fix your setup by simply installing the latest drivers for your NVS420 cards (266.45 for Win 7/64 rel. 01/12/2011).
    Since you are using two identical cards, this could do the trick.
    Caveats - Make sure you:
    1. Select Custom Install, the Express Install will most likely not work properly.
    2. Unselect the Audio Driver (if available), the nVidia HD(MI) Audio driver could
        screw up your speech recognition (if you use it) or other audio software - it did for me.
    3. Select Clean Install. If you don't, files like C:\Windows\System32\drivers\nvlddmkm.sys
        and several other driver related files will not be overwritten, causing all sorts of neat effects.
    4. After the Install is complete, reboot your system whether the Installer prompts you or not.
    After testing various configurations, disabling two - six of my eight monitors I am at this point:
    I am now using nVidia's lastest and greatest piece of crap (read driver), version 266.58, released just two days ago. After an initial snag with maximized windows extending to the bottom of the main monitor (underneath the taskbar), a re-install & reboot solved that issue.
    All three driver versions tested (260.89, 260.99, 266.58) now allow me to start PhotoShop without any problems; providing I first disable the two monitors fed by my onboard graphics (nVidia 780a based), leaving me with six monitors connected to three GTS-450 cards.  I can even re-enable the two other monitors once the program is open, and it continues to work fine. However, I must disconnect them again for the next start of PhotoShop.
    On an interesting side note:
    After disabling six monitors (leaving only two on a GTS-450), I was also able to open and run SoundBooth CS5, which previously would not open, citing the audio driver as the problem. After sucessfully starting SoundBooth I could re-enable all six other monitors (incl. onboards),
    and that program now opens and works fine with all 8 monitors connected. [ODD !!!]
    Other than Adobe Software, I've had only one other issue with my setup:
    When playing online poker at PokerStars, occasionally and quite randomly one of multiple tables would freeze up. I'll try disabling the two onboard monitors for that program as well to see whether the random freezes stop.
    Overall, while I think that Adobe produces fine software and nVidia has been in need of an overhaul for quite some time now, I also think that Adobe and nVidia software engineers need to work more closely together to ensure that problems like this don't arise in the first place after a product has been released to the public. IMHO, this is avoidable!
    PS:
    Here's a link to a great tool for multiple monitors, Display Fusion by Binary Fortress.
    I use the free version, it allows you to do cool things like have individual wallpapers for all
    your monitors, or stretch a single image across all monitors. With the Pro Version ($25),
    you can also add individually customizable taskbars to each monitor, and a lot more.
    http://www.displayfusion.com/

  • Problems using the Program Monitor

    Dear Premiere users,
    I recently bought Adobe Premiere CS3 and i'm having problems using the Program Monitor.
    I cant see anything off screen. It just wont show anything if its outside the boundaries of the screen. I can adjust the zoom level but that wont change anything even if i set it to full screen.
    Another problem I'm having is that it wont show motion paths or clip handles. Even if I make a motion path in the Effects Control window it wont show the path in the Program Monitor.
    I really appreciate any advice on this because it drives me crazy. I already tried installing it again but that wont solve the problem.
    Thanks in advance.
    Greetings,
    Peter

    First of all I hope you are being sarcastic Jim. Sorry for being not that clear but I'm not stupid :).
    Craig Howard is right. I thought that the Program Monitor was similarly to AEFX. But I suppose I was wrong on this one? So you cant get something to display outside the image area? If I place a clip outside the project dimension it just disappears in the Program Monitor.
    And about the motion paths. I thought I read in the Premiere help files that they do show up in the Program Monitor. The topic says: "Adjust position, scale, and rotation" or "Animate motion in the Program Monitor ". There are pictures over there that show clip handles and motion paths in the Program Monitor. Clicking the effect wont do anything for me. Its like my video driver cant get them to show or something.
    Edit: I found a tutorial here:
    http://digitalproducer.digitalmedianet.com/articles/viewarticle.jsp?id=26660&afterinter=tr ue
    They are dragging frames off screen and are using the handles and borders around the frame to adjust them. So I guess it should be possible, but how?
    Thanks for the help.

  • I have just installed Digital Editions 4.3 but am having poblems downloading digital books as I get an error message stating 'Error! Check Activation'. I have Windows 7 and didn't have any problems using the previous version of Digital Editions. Can anyon

    I have just installed Digital Editions 4.3 but am having poblems downloading digital books as I get an error message stating 'Error! Check Activation'. I have Windows 7 and didn't have any problems using the previous version of Digital Editions. Can anyone advise?

    Hi Siobhan ,
    Please refer to the following link and see if that helps.
    https://helpx.adobe.com/digital-editions/kb/error-e_act_not_ready.html
    I would also like to know ,does that error message has any specific number ?
    Regards
    Sukrit Dhingra

  • I have problem using the BufferWriter

    I have problem using the BufferWriter. I try to write the data to a *.txt file. However, I do not know how to add the data in but not over write the previous data. Can anyone help me please?
    Also the productID cannot be written into the *.txt file, the type of productID is int. Don't know why this happen...
    public void writeInfo()
        try{
        PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("C:\\Documents and Settings\\Charles\\My Documents\\testing.txt")));
        out.write("\n");
        out.write(productID);
        out.write("  ");
        out.write(productName);
        out.write("  ");
        out.write(originalCountry);
        out.write("  ");
        out.write(Double.toString(price));
        out.write("  ");
        out.write(productCategory);
        out.write("  ");
        out.write(Double.toString(vatPrice));
        out.write("  ");
        out.write(manufacturerName);
        out.write("  ");
        out.write(manufacturerAddress);
        out.write("  ");
        out.write(warranty);
        out.flush();
        out.close();
        catch(IOException ex)
         ex.printStackTrace();
      }

    Charles_Wong wrote:
    Also the productID still cannot be written into the *.txt file...
    and where can I find the line.separator?
    Edited by: Charles_Wong on Dec 12, 2007 2:56 AMSystem.getProperty("line.separator")

  • The new ibook app and ibook update is designed for iPhone 5 operating system.   When my iPhone4 recently updated the ibook app, it created many problems using the ibook to download and read my books.    Can I get the previous ibook app back on my phone.

    The new ibook app and ibook update is designed for iPhone 5 operating system.   When my iPhone4 recently updated the ibook app, it created many problems using the ibook to download and read my books.    Can I get the previous ibook app back on my phone.

    Check your trash can on the desktop. The old version is automatically moved to the trashcan. You should be able to move it from the trashcan back to the Apps folder within the iTunes folder. The update that was pushed out was for iBooks to work with iOS 7 not iPhone 5. iOS 7 was released today.

  • Out of memory problem using the API

    Hi all,
    I need your assistance, we are working with CDB 10.2 making searches and retrieving the documents with all their attributes.
    In our actual scenario we have a single user (which represents an application) accessing CDB. This user use several persistent sessions simultaneously. I mean, several thousands of final users connect to an application that uses one user of CDB to connect to CDB with several persistent sessions.
    To simulate this scenario we wrote java code that open five threads and make several searches (requesting all the attributes) using the same user on cdb.
    Retrieving a considerable amount of data found on the search (~5000), we found a “Out of memory” problem when we made these tests:
    -     5 threads obtaining 100 documents (and all their attributes) / search
    -     1 thread obtaining 500 documents (and all their attributes) / search
    -     Also we have same problem if we make several searches with less results
    We suppose it’s a configuration or code issue so we ask for your assistance and experience to solve it.
    Thanks for your help,
    Dani
    import java.sql.Connection;
    import oracle.ifs.examples.api.constants.AttributeRequests;
    import oracle.ifs.examples.api.util.CommonUtils;
    import oracle.ifs.fdk.Attributes;
    import oracle.ifs.fdk.ClientUtils;
    import oracle.ifs.fdk.FdkConstants;
    import oracle.ifs.fdk.FdkCredential;
    import oracle.ifs.fdk.ManagersFactory;
    import oracle.ifs.fdk.NamedValue;
    import oracle.ifs.fdk.Options;
    import oracle.ifs.fdk.SearchExpression;
    import oracle.ifs.fdk.SearchManager;
    import oracle.ifs.fdk.SimpleFdkCredential;
    import oracle.jdbc.pool.OracleDataSource;
    public class Prueba {
         public static void main(String args[]) {
              Thread thread = new BasicThread1();
              Thread thread1 = new BasicThread1();
              Thread thread2 = new BasicThread1();
              Thread thread3 = new BasicThread1();
              Thread thread4 = new BasicThread1();
              thread.start();
              thread1.start();
              thread2.start();
              thread3.start();
              thread4.start();
    class BasicThread1 extends Thread {
         public void run() {
              ManagersFactory session = null;
              try {
                   System.out.println(this.getName() + "-->init");
                   session = getSession();
                   SearchManager sManager = session.getSearchManager();
                   SearchExpression srchExpr = new SearchExpression(Attributes.SIZE,
                             new Integer(20000000), FdkConstants.OPERATOR_LESS_THAN);
                   NamedValue[] res = null;
                   for (int i = 0; i < 100000; i++) {
                        res = sManager.search(srchExpr, basicSearchOptions2,
                                  AttributeRequests.DOCUMENT_CATEGORY_ATTRIBUTES);
                   System.out.println(this.getName()+" --> fin sin error: " + res.length);
                   } catch (Throwable t) {
    t.printStackTrace();
    System.out.println("<--"+this.getName());
              } finally {
                   CommonUtils.bestEffortLogout(session);
         static NamedValue[] basicSearchOptions2 = new NamedValue[] {
                   ClientUtils.newNamedValue(
                                       Options.MULTILEVEL_FOLDER_RESTRICTION,
                                       Boolean.TRUE),
                   ClientUtils.newNamedValue(Options.SEARCH_FOR_DOCUMENTS,
                             Boolean.TRUE),
                   ClientUtils.newNamedValue(Options.SEARCH_FOR_FOLDERS,
                             Boolean.FALSE),
                   ClientUtils.newNamedValue(Options.RETURN_COUNT,
                             new Integer(500)) //<<Maximo nº de elementos
         private static ManagersFactory getSession() throws Exception {
         OracleDataSource ods = new OracleDataSource();
         ods.setURL("URL");
         Connection conn = ods.getConnection();
         FdkCredential credential = new SimpleFdkCredential("USER","PSW");
         ManagersFactory session = ManagersFactory.login(credential,
         "SERVER");
    return session;
    }

    re-Post

  • Problem using setRequestProperty on a url connection, how can I fix it?

    From what I've read on it I thought I did everything the right way. I'm just starting out with the networking aspect of Java. What I'm trying to do is download only a portion of a file. For right now I'm just worried about downloading the end of a file starting from a value I enter manually. I read that I should use the setRequestProperty to set the start position of the file I'm download. For some reason it isn't working for me. It's still download the entire file. Can anyone give me some insight into what I'm doing wrong? I've commented what I think is happening in each line of the code, if someone could verify where I'm correct and where I'm wrong at that would be helpful too. Thank you.
    import java.io.*;
    import java.net.*;
    public class FileDownload2 {
         public static void download() {
              OutputStream out = null;
              RandomAccessFile file = null;
              URLConnection conn = null;
              InputStream  in = null;
              try {
                            URL url = new URL(""); //create a new url
                   conn = url.openConnection();//set url up to be opened
                   conn.setRequestProperty("Range", "921600-"); // send a header-request
                   in = conn.getInputStream(); //open the connection to the file
                   byte[] buffer = new byte[1024];//create a buffer to hold bytes from the file
                    out = new FileOutputStream("test");//create a new file to write the bytes to
                   int numRead;
                   long numWritten = 0;
                   while ((numRead = in.read(buffer)) != -1) {
                        out.write(buffer, 0, numRead);
                        numWritten += numRead;//while there is still data read from the buffer and write the bytes to the file
              } catch (Exception exception) {
                   exception.printStackTrace();
              } finally {
                   try {
                        if (in != null) {
                             in.close();//close the inputstream
                        if (out != null) {
                             out.close();//close the file
                   } catch (IOException ioe) {
         public static void main(String[] args) {
                   download();//call method download
    }Edited by: Secondtimearound on May 3, 2008 9:05 AM

    Thanks! I ended up finding that on my own. I'll still give you the points if you want them because you gave the right answer. LOL I do have another question though. I only want to download part of a file and it seems to work fine with .mp3 files, I'm guessing because they were designed to play from any part of the file. However, when the program downloads only a part of a video file the video won't show. Sometimes the audio will still download that goes along with the video file. I read in another forum that the reason p2p programs can preview a video file is because they download the begining and end of the file. My question is, how can determine how much of the beginning and end of the file needs to be downloaded in order for the video file to play? I'm guessing there's some type of header file in the video but how to I download just that first? Then, I'm thinking I would have to use threads to download the different parts then combine them or something. I'm not sure. Any help would be appreciated. Thanks.

Maybe you are looking for

  • Problem: Adding support for non-english charachter sets in UCCX 8.0

    We have just moved from windows-based UCCX 7.0 to UCCX 8.0, the upgrade process went successfully so far, but for some reasons, Cisco Agents are experiencing problems displaying non-english charachter sets, everything was working fine prior to upgrad

  • Can I change the Controls labels & messages into a different language in user interface.

    Hi, I am working on China based project and they want to switch the UI controls and indicator's labels,  menu or selection control and messages into two different language i.e. English or *****. Please let me know is this possible using labview progr

  • Pictures in Facebook are too large and content is cut off, is there a way to adjust.

    While using my I pad 2 for Facebook the pictures of postings are huge and some of the content gets cut off. This doesn't happen on a laptop is there a way to adjust size of content so entire post can be seen.

  • Photos app disappeared

    I restored my backup from 1g touch with 2.1 update onto my new 2g touch. seems okay but the photos app has disappeared. I looked back at the 1g model and it has disappeared from there too! Can anyone tell me how to get it back? I have latest firmware

  • In JE Debit and credit same account

    Dear Experts, In JE(Incoming Payment) Debit and credit come same account. How to solve this issue #---- G/L Acct/BP Code - G/L Acct/BP Name                      -             Debit       -               Credit 1--110879                 -  Advance Pay