JEditor pane does not look like the explorer.

Hi
I would like to display the following htmlc ode on JEditor pane.
I want to have two lists of assets and a title to each one.
the problem is that one of the titles (the second one) does not displayed in the same location as the first one (It displayes ans if it is part of the list)
I copies the code to a htm page and it looks fine on my explorer.
I will be happy if you will tell me what is wrong in the html code.
thanks
Liat
JEditorPane summeryMessagePane;
summeryMessagePane=new JEditorPane("text/html","");
//html string
String text="<html><body><font face = Verdana size =2 color=black>The following files were defined successfully:<li><font face = Verdana size =2 color=black>/LDRS/mummy2_opt8_pal_2500kbps_10m_l2_ar128kbps.m1s.mpg</font></li><li><font face = Verdana size =2 color=black>/LDRS/nely_opt2_10m_pal_1860kbps_l2_128kps.m1s.mpg</font></li><br>The definition for the following files failed:<li><font face = Verdana size =2 color=black>/LDRS/mummy2_opt8_pal_2500kbps_10m_l2_ar128kbps.m1s.mpg.meta</font></li><font face = Verdana size =2 color=black>Unsupported asset format.<li><font face = Verdana size =2 color=black>/LDRS/nely_opt2_10m_pal_1860kbps_l2_128kps.m1s.mpg.meta</font></li><font face = Verdana size =2 color=black>Unsupported asset format.</font></body></html>"
//set the string
summeryMessagePane.setText(text.toString());
JScrollPane scrollPane = new JScrollPane(summeryMessagePane);
        add(scrollPane,BorderLayout.CENTER);

What ever gave you the idea that HTML display on JEditorPane would look exactly like in IE?
JEditorPane only supports HTML 3.2 (but no frames, I think), some CSS 1 and no Javascript. It's very far from being useful for displaying modern web pages.
Furthermore....
<font face = Verdana size =2 color=black>
Bad bad bad bad bad HTML format. You are supposed to always quote tag attribute values:
<font face="Verdana" size="2" color="black">

Similar Messages

  • My interface -- buttons (back, forward, reload), firefox tab, groups, etc. -- does not look like the sample on your "firefox features" page. ("Groups" seems not to function at all.) I'm running the current firefox 4 download on Windows XP. Can you help?

    My interface -- buttons (back, forward, reload), firefox tab, groups, etc. -- does not look like the sample on your "firefox features" page. ("Groups" seems not to function at all.) I'm running the current firefox 4 download on Windows XP. Can you help?

    cor-el
    Thank you for your swift reply. I don't know that this has helped me, as I've reached my level of tolerance for fooling with this annoying little problem - for today anyway. It has been going on since I "up" graded to Firefox 4. My wife is running 3.6.x on her laptop with none of this foolishness. As BLASPHEMOUS as it may sound, I've gone back to IE for the time being even though I don't like it 1000th as much as I do Firefox.
    Not just to rant here, I would say that I found a way to put some buttons on the right side of the toolbar that immediately gave me permission to "back, forward, and reload", but upon closing the browser and going out for dinner with the wife, I find on return that not only are those buttons NOT still on the toolbar, but I can't find them anymore. I think they were in "add-ons" found under I believe Add-On Manager.
    I did also manage to achieve back/forward functionality running Firefox in SAFE mode, but this meant no No-Script, among other things, and I've grown too fond of that particular little script to give it up.
    I've rebooted, restored, and reinstalled, can't get this formerly completely reliable program to work like it always has. Before looking around on here, I was beginning to think it was my PC.
    THANK YOU FOR YOUR HELP, cor-el. I'm going to see if I can get on live chat on Monday.
    bossman344

  • Does not look like the picture on your site. i have xp professional

    i downloaded ff v.4, but it does not look like the picture on your website. lots of missing components/tabs?
    i use windows xp professional.

    The orange Firefox menu button is hidden by default on Windows XP.<br />
    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top

  • I want to print an 8 x 10, but the photo does not look like the print preview - it truncates part of the picture

    I am using an HP PSC 2355 printer - and have not had trouble printing before. The 8 x 10 photo does not print like the print preview does - everything elarges when the actual print completes, which truncates all details that need to be printed. Is ther a setting that I should be choosing?

    There is no O or L in my Serial Number, and it starts with one single D, then a set of 3 numbers, 3 letters, 4 times, then 3 letters closing it down. When I check my Final Cut's serial number in the help section of the software, I get the same number. Yet, when I enter it in the site, it says, I have an invalid serial number. So I will call Apple Care. I hope I will be able to talk to a representative in an hour or so. It always takes so long that I grow beard while I wait.

  • Why is it that I downloaded Firefox 4.0 but I do not have the orange firefox box in the upper left hand corner of screen. My screen still looks like the old verison of firefox. My screen does not look like the one in the video. looks nothing like the one

    My Firefox 4.0 does not look anything like the videos you show about the features of the new Firefox. My screen looks totally different than yours. It does not have the orange box in the upper left hand corner of the screen. My screen still looks like the old version. I have the logo on the top of my screen with Ask a Question a vertical line Firefox Help - Mozilla Firefox.
    Under this line I have File, Edit, View, History, Bookmarks, Tools, and Help. Below this line is a tab with Ask a Question Firefox Help and a +. My husbands screen looks identical to the orange Firefox Box in the upper left of screen. I would like my screen to look identical to the ones shown in your videos. I only have one version of Firefox 4.0 my husband does have the Firefox 4.0 plus the Beta version. How do I add the Beta version? I have Windows Vista running systems. Please help. Thank you

    You're welcome

  • My Firefox does not look like the Firefox shown in your tutorials

    Going through the tutorials and help sections, the Firefox page shown does not match the one that I have. There is no Firefox button, the menu below the Mozilla logo is the "File Edit View...." menu. So the directions I am getting from the tutorials and Help sections can't be followed.
    I just downloaded Firefox, installed it, and checked for updates, which Firefox found and installed. I am now at 19.0.2
    I am running Windows 7 on a Lenovo Thinkpad. WIndows just updated.
    Am I running the latest version of Firefox? Why doesn't my version look like the help pages?

    hello, you can go to the ''view ''menu > ''toolbars'' & un-check the menu-bar - then you should get the default look.

  • My firefox does not look like the new version, why?

    I have downloaded the new Firefox but it looks like the old version. Why?

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar via View > Toolbars, also accessible via Firefox > Options.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    *http://www.mozilla.com/firefox/features.html

  • HT1386 My iTunes page does not look like the one you show in iOS: Syncing with iTunes

    How can I synchronise my Apps between iPhone and iTunes?

    iTunes>View>Show Sidebar...look like the pic now?

  • My mouse preference pane does not look like Apple's

    Hi all.
    Just bought the Magic Mouse, and I like it. Would like to do some fine-tuning, though. On the apple.com there's a movie about the mouse, with a shot of the pref pane for mouse settings. It looks like this:
    Mine does not. It looks like this, with much less options (sorry for the Swedish language, but I think you get the point):
    What am I missing? I have the latest system (10.7.4). The apple.com it says that I need Wireless Mouse Software Update 1.0, so I tried Software Update but it says I'm up to date on everything.

    Exactly. Secondary click is on, but locked to ctrl+click. I would like to modify this. The apple.com screen shot looks like it offers that option, but I might be wrong.
    I ran my old Logitech through SteerMouse, which offers a world of options. Apple stuff usually don't need to, since they're right from the start, but in this case I'd really like some more options.

  • When i installed firefox on windows my page does not look like the set up in the help support set up section

    when installed the page doesnt look like one that helps you in setup support - i dont have orange firefox tab upper left nothing is the same and very irritating trying to follow your suggestions nothing works

    Also make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible.
    *Firefox menu button > Options
    *View > Toolbars (press F10 to display the hidden Menu bar)
    *Right-click empty toolbar area
    Use Toolbar Layout (Customize) to open the Customize window and set which toolbar items to display.
    *check that "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *if "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette into the Customize window to the Bookmarks Toolbar
    *if missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar setup
    See also:
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Photoshop Elements 13 tutorial does not look like the version I have.  Help?

    I recently got Photoshop Elements 13 because I believed it function somewhat like Photoshop, but cheaper.  The moment I opened it, I noticed the interface was completely different.  So, I clicked on the link for the beginners tutorial in eLive, which sent me to this link: Get Started with Photoshop Elements 13 - YouTube
    However, the one in the video shown above looks slightly different from mine, making it difficult to follow along.  On the top bar in the video, it goes from eLive>Media>People>Places>Events.  The one I am using goes from eLive>Quick>Guided>Expert. 
    Could someone help me fix this so I could follow along the video instead of learning by myself?

    Hi,
    Photoshop Elements comes in two main parts. You are looking at the Editor part, the video is showing the Organizer part.
    Either select Organizer from the bottom toolbar of your screen or go to the Welcome screen and select Organizer.
    Brian

  • My website upload does not look like the preview

    I used 398 nature template to make a new website (using DreamWeaver). Everything went well until I uploaded the files to the server. Here is the preview:
    Here is what it looks like now that I've uploaded it to the server:
    Any suggestions would be appreciated!

    When you Define a Site in DW, you keep all of your site's files in a local root folder. When you upload to your server, you're moving the content of your local root to the server root folder.
    Basically, aside from some possible "server only" files/folders (like the cgi-bin folder for example), your local site and remote site directory structures should match exactly.
    So, if you have your .css files in a folder called css that's on the same directory level as your index.html page locally, the remote .css files must also be found within a css folder on the same directory level as the remote index.html page.

  • My upgrade does not look like the firefox 4

    After upgrading to firefox 4 I still have the old style border around the browser. Also when I hide the menu bar the Edit View, History etc. do not go to the firefox drop down tab.

    Try:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Just started using firefox seriously. my user interface does not look like the one in the 'tour'. please help

    i downloaded firefox a long time ago but havent used it extensively because i liked chrome. but recently chrome is just too difficult and if there is an issue i cant speak to anyone. so i am trying firefox. i went to take the user interface tour and there is suppose to be a button on the right hand side to help with bookmarks but my 'version' doesnt have that. was wondering how i get that and if i may have the wrong version.
    also....i cant seem to find where to turn autofill on and right now its not working except with the occasional email address.
    and one more thing....all streaming videos...tv, utube, art instruction..trailers...all get chunked up. nothing ever runs smoothly. and i am paying to get good download speed.
    i would appreciate any help on these three issues.
    thank you

    About the bookmark button:
    *[https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars Customize toolbars]
    About versions of Firefox:
    *[http://www.mozilla.org/en-US/firefox/new/ Last Firefox Version]
    About the videos:
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Webgui theme not rendering toolbar, does not look like SAPgui for Win

    Hello all,
    I just installed the ITS 6.20 Patch 20 and when I started the webgui service, the theme that was genereatd does not look like the SAPgui for Windows at all.
    All I've got is a gray and blue color theme.  The top row is the "SAP Easy Access" header and on the next row are just simple square buttons (Menu, Tools, User Menu, SAP Menu, etc.).
    What do I have to do to enable the "richer" look-and-feel like the SAPgui for Windows 6.20?  I'm looking to get the toolbar with the paging icons, disk icon, goback, etc.
    Thanks,
    Mike

    Oliver,
    You have to disable the Enjoy SAP option.
    1. Log in to the Admin service;
    2. Open the Configuration | General settings for the ITS instance;
    3. Remove the checkmark for the "Enjoy Design" option.
    4. Save and restart.
    Does this help?
    Mike

Maybe you are looking for

  • Remove an iCal event without sending updates?

    So... I have a thorny question that nobody seems to have an answer to. I use my Mac at work (as well as at home). I have 2 calendars- 'Work' is connected to my Exchange account. 'Home' is synced through iCloud. For some inexplicable reason, when I ge

  • Export puzzle--food for thought.

    Hi, I used to use FCE 2 on Panther and made a movie and used the export feature to make a DVD. I used "Export to QuickTime Movie" and made the thing self contained. After lots of time and upgrades (FCEHD 3.5.1, OS X Leopard, a new hard drive, etc,) I

  • Web browsing and general internet speed

    My G3 iBook (Airport) seems to be able to display web pages faster and clock a higher download speeds now than my G4 iMac (ethernet). Using a Linksys router. It used to be the other way around. I've tried all the tips and tricks for Safari (delete ic

  • UCM 11g - How to build docurl

    Hi, Is there any service available in 11g, thru which I can directly get the web location url of the document? Web Location of a doc: http://<server>:<port>/cs/groups/public/documents/faqs/mdaw/mdaw/~edisp/160.gif Looking for something like this: htt

  • Start Screen Tiles crashing

    After the Build 9879 update, some of my Start Screen tiles are crashing. PC Settings tile crashes. Reader tile crashes. Scan tile crashes. My intel display driver crashes.