Iframe has a problem in displaying the content of the source in iframe

iframe displaying a RSS feed from an XML file so on subscribing to RSS, iframe goes blank and does not render any kind of control. Inspite of this, control comes for the bookmark. This functionality is working fine with all the versions of IE. but am facing thi sin all firefox versions.

Hi
Thanks for your idea.
I am not understanding what is <calculate number of pages>
int pages = <calculate number of pages>if (pageIndex >= pages){    return(NO_SUCH_PAGE);}// no need for else; if pageIndex >= pages we have returned and are not in the method anymoreGraphics2D graph = (Graphics2D)g;int x = <x coordinate of page pageIndex>int y = <y coordinate of page pageIndex>graph.translate(pageFormat.getImageableX() + x, pageFormat.getImageableY() + y);disableBuffering(compent);compent.paint(graph);enableBuffering(compent);return PAGE_EXISTS;How can we get it for JTree?
Thanks
Archana

Similar Messages

  • Display the content of the folder

    Hi all,
    I have written a recursive method to display the entire content of the particular folder.
    public void showDetails(String f) {
              try {
                   x = new File(f);
                   files = x.listFiles();
                   for (int i = 0; i < files.length; i++) {
                        System.out.println("The filename is " + files);
                        if (files[i].isDirectory()) {
                             System.out.println("Foldername ->" + files[i]);
                             showDetails(files[i].toString());
                        } else if (files[i].isFile())
                             System.out.println("Files name ->" + files[i]);
                        else
                             showDetails(files[i].toString());
              } catch (Exception e) {
                   e.printStackTrace();
    method name : showDetails();
    Example Input : d:\jdk1.3.1_06
    Example output : bin\*.*
    bin\examples\*.*
    bin\training\*.*
    demo\applets\*.*
    demo\jfc\*.*
    . and so on
    Current output : bin\*.*
    bin\examples\*.*
    My problem : If I execute the method, it displays the content of the first folder and its first subfolder . But I need to display entire content , (i,e) just like out windows explorer.
    Could any one please help me...
    If you couldn't understand the above problem, Please do inform me, I will tell in more clearer way.
    Thanks in advance.
    Bye
    javasans

    You are using your method recursively. Then the variables x and files should be local in this method, e.g.
    File x = new File(f);
    File[] files = x.listFiles();If these variables are declared outside, they are overwritten during the recursive call and could produce the described behaviour.

  • My master button made with a Blank Composition box displays under the content on the child pages

    I made my main menu buttons with a blank composition box. I have the button on the B-Master page so it displays the same at the top of every page. When I preview it and click open the buttons they seem to open a layer underneath the content on the child page. Is anyone familiar with this problem and have a solution?

    Hello,
    After much trial in error, I found that you must put your composition in the top layer, the header layer.  Perhaps Muse is doing to you what it was doing to me.  I created another master page within one of my files and when I was adding the composition box, it was going into the my "home" layer.  Grab your composition "meatball" and put it into your "header" layer and voila!  Problem solved.  Your composition contents will show on top of your page contents. Thanks for the question.  I've learnt with it as well!  And I hope this helps.

  • Hi,I have recently replaced by hard drive with a ssd. My old hard drive has all my iTunes stuff.i would like to install only iTunes programme on the ssd with all the content on the old hard drive. How do I do it?

    Hi,I have recently replaced by hard drive with a ssd. My old hard drive has all my iTunes stuff.i would like to install only iTunes programme on the ssd with all the content on the old hard drive. How do I do it?

    Install iTunes.
    Once install, hold SHIFT and launch iTunes.
    When prompted, point iTunes to the correct location for the iTunesLibrary.itl file which should be in the iTunes folder under <user>/Music on the old drive.

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doe

    Hello. The Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doesn't auto play either. Thanks!

    Hi Mariana,
    Please make sure you have the autoplay checkbox selected from the fly-out options:
    Regards,
    Akshay

  • Mail doesn't send e-mail. Before yesterday everything was ok, but now it says that a copy of the message has been sent to "Sending messages" because the contents of the message cannot be send to server. What to do? IMAP should be ok.

    Mail doesn't send e-mail. Before yesterday everything was ok, but now it says that a copy of the message has been added to "sending messages and the content of the message cannot be sent to the server". All the data in IMAP is ok. What to do?

    thanks for replying!
    When sending from one mac email account to another email account on the mac it seems to send fine, and it moves to the sent items, but nothing appears in the mac inbox.
    When sending from a mac account to the pc, it seems to send fine, and it moves to the sent items, but nothing appear in the PC inbox.
    When sending a massage from the PC to my mac email, it send fine from the PC and arrives in the inbox on the mac.
    mac to mac - seems to send but dosent arrive
    mac to pc - seems to send but doesnt arrive
    pc to mac - seems to send and arrives.
    As i said it was all working fine yesterday and for four years previous to that, but now it has just stopped.
    I hope you can help.

  • HT1212 My daugther has forgotten the password to her ipod touch. The Ipod has not been connect to itunes before. how do i recover the contents of the ipod?

    My dausgther has forgotten the password to her ipod touch. The ipod has never been sunced to itunes. Is it possible to recover the contents of the ipod?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resoluti

    I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resolution, to no avail.
    David.

    Paragraph breaks are good for readability. ;-)
    Have you noticed any difference between your MacBook and others at the Apple store? Wondering whether this is a configurable setting at the system level, i.e., DPI.
    You can default Firefox to a larger zoom level to avoid having to zoom every page. You'll still be able to adjust the size for individual sites as needed. It sounds as though you are aware of these add-ons:
    * Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    * NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    There are some discussions about changing coming in Firefox 22 (I think) to address higher density displays like the Retina display. So perhaps there will be a built-in setting to address this in the future.

  • In Numbers, I copied a worksheet and deleted the contents. The sheet I copied from has a header, I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete it?

    In Numbers, I copied a worksheet and deleted the contents. The sheet I copied has a header.  I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete the header?

    Hi Cristina,
    Headers are not shown in normal view.
    Menu > File > Print to open Print View.
    Hover the cursor over the Header to see the outline. Click and delete.
    Regards,
    Ian.

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • Hi, Over a week now, my Firefox browser has been aligning the info on the page to the right of the page. This makes it difficult to see the rest of the contents on the page. Can you help?

    Question
    Hi, Over a week now, my Firefox browser has been aligning the info on the page to the right of the page. This makes it difficult to see the rest of the contents on the page. Can you help?
    Regards
    Femworth65

    my money is on a hardware issue

  • How to display the contents of the database values which are retrived.

    how to display the contents of the database values which are retrived in servlets and i am able to display the contents in the servlets and if forward to jsp using requestdespatcher,the values are to be shown in jsp one below the other.please suggest me in these........the servlet code is as shown
    while(rs.next()){
                        buffer.append(rs.getString(1));
                        buffer.append(rs.getString(2));
                        buffer.append(rs.getString(3));
                        buffer.append(rs.getString(4));
                        buffer.append(rs.getString(5));
                        buffer.append(rs.getString(6));
                        buffer.append(rs.getString(7));
                        buffer.append(rs.getString(8));
                        buffer.append(rs.getString(9));
                        buffer.append(rs.getString(10));
                        request.setAttribute("result1",buffer);
                        RequestDispatcher rq=request.getRequestDispatcher("/results.jsp");
                        rq.forward(request,response);
    in jsp iam using the getAttribute to retrieve the values as shown
    <% StringBuffer sb=(StringBuffer)request.getAttribute("result1"); %>
    <%= sb %>
    but getting the results in the stretch,i need to display the result one below the other.

    if you load it all into the buffer that is going to be very difficult. I would suggest loading it into some sort of collection. I like using an ArrayList.
    Then pass the arraylist.
    you will then on the jsp iterate through the arrayList using what every you want.. el, logic tags, scriplets.
    so something like
    ArrayList arrayList = new ArrayList();
    while(rs.next()){
    arrayList.append(rs.getString(1));
    //or possibly an arrayList of String arrays
    //maybe using nested for loops.  Inner for loop adds result to string[] then //outer adds string[] to arrayList.
    //can be done any number of ways based on your expected result set.

  • Iphoto has just deleted the contents of the last album i uploaded by unexpectedly closing whilst viewing photos. It is also refusing to recognise "flagged" photos. any ideas?

    iphoto has just deleted the contents of the last album i uploaded by unexpectedly closing whilst viewing photos. It is also refusing to recognise "flagged" photos. any ideas?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • HT1578 I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    Time Machine error: Apple Support Communities
    OSStatus 5 when trying to use Lion...: Apple Support Communities

Maybe you are looking for

  • Create a single tall image from a multi-page pdf file

    I would like to take a multi-pake pdf file, and have all of the pages "appended" from top to bottom edge to create a single tall image. I am a teacher, and I currently do this by hand, I am then able to annotate the entire page and croll down an enti

  • Is the pattern made with a filter

    i need to make is again because i crop some thing of...

  • Can a DVD be Transferred to my iPod 60?

    I have a new iPod 60 w/ color display and want to transfer some of my music DVD's (U2, etc.) to my iPod to view. Can it be done and if so - how? Thanks!!!

  • Another failed Adobe update for flash

    Once again, what should be a simple installation of the released Flash update for an xp sp3 system caused Flash to fail completely.  I don't have the time or patience to apply your so-called security updates, if you can't devise one that doesn't sabo

  • System Preferences Freezes Constantly!!! (32-bit Core Duo Processor)

    Here is my problem: Almost every other time I try to open System Preferences it freezes. I have to Force Quit and restart it. After this, it works. I suspect that the problem relates to an installed preference pane. If I had a 64-bit processor, I wou